[arch-commits] Commit in crda/trunk (PKGBUILD libnl32.patch)
Jan Steffens
heftig at archlinux.org
Thu Feb 9 17:55:33 UTC 2012
Date: Thursday, February 9, 2012 @ 12:55:33
Author: heftig
Revision: 149712
libnl3
Added:
crda/trunk/libnl32.patch
Modified:
crda/trunk/PKGBUILD
---------------+
PKGBUILD | 8 +++++---
libnl32.patch | 12 ++++++++++++
2 files changed, 17 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2012-02-09 17:33:21 UTC (rev 149711)
+++ PKGBUILD 2012-02-09 17:55:33 UTC (rev 149712)
@@ -3,7 +3,7 @@
pkgname=crda
pkgver=1.1.2
-pkgrel=1
+pkgrel=2
pkgdesc="Central Regulatory Domain Agent for wireless networks"
arch=(i686 x86_64)
url="http://wireless.kernel.org/en/developers/Regulatory/CRDA"
@@ -12,13 +12,15 @@
makedepends=('python-m2crypto')
install=crda.install
source=(http://wireless.kernel.org/download/crda/${pkgname}-${pkgver}.tar.bz2
- crda.rc)
+ crda.rc libnl32.patch)
md5sums=('5226f65aebacf94baaf820f8b4e06df4'
- '014eef3f8655e9a130064ec6891317fc')
+ '014eef3f8655e9a130064ec6891317fc'
+ 'c1f7aff29f15a0364ae6f7905a1d4ae6')
build() {
msg "Compiling crda ..."
cd "${srcdir}"/${pkgname}-${pkgver}
+ patch -Np1 -i "$srcdir/libnl32.patch"
sed 's|^#!/usr/bin/env python|#!/usr/bin/python2|' -i utils/key2pub.py
make crda regdbdump
}
Added: libnl32.patch
===================================================================
--- libnl32.patch (rev 0)
+++ libnl32.patch 2012-02-09 17:55:33 UTC (rev 149712)
@@ -0,0 +1,12 @@
+diff -u -r crda-1.1.2/Makefile crda-1.1.2-libnl32/Makefile
+--- crda-1.1.2/Makefile 2011-08-10 01:36:19.000000000 +0200
++++ crda-1.1.2-libnl32/Makefile 2012-02-09 18:53:33.376430180 +0100
+@@ -51,7 +51,7 @@
+
+ ifeq ($(NL3FOUND),Y)
+ CFLAGS += -DCONFIG_LIBNL30
+-NLLIBS += -lnl-genl
++NLLIBS += $(shell pkg-config --libs libnl-genl-3.0)
+ NLLIBNAME = libnl-3.0
+ else
+ ifeq ($(NL2FOUND),Y)
More information about the arch-commits
mailing list