summaryrefslogtreecommitdiffstats
path: root/main/dhcpcd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2014-02-20 09:08:18 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2014-02-20 09:08:53 +0000
commit5e92099ecca49adee5d16096cd1b998321e013f1 (patch)
tree5997580a6fcdcb7558320c9bea9df13112ca5aa9 /main/dhcpcd
parentacdecf0f389384a5622583946f65d16e6ed45cec (diff)
downloadaports-5e92099ecca49adee5d16096cd1b998321e013f1.tar.bz2
aports-5e92099ecca49adee5d16096cd1b998321e013f1.tar.xz
main/dhcpcd: fix build with uclibc
Diffstat (limited to 'main/dhcpcd')
-rw-r--r--main/dhcpcd/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/dhcpcd/APKBUILD b/main/dhcpcd/APKBUILD
index 727583e66..e4ae94f48 100644
--- a/main/dhcpcd/APKBUILD
+++ b/main/dhcpcd/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=dhcpcd
pkgver=6.2.1
-pkgrel=0
+pkgrel=1
pkgdesc="RFC2131 compliant DHCP client"
url="http://roy.marples.name/projects/dhcpcd/"
arch="all"
@@ -26,6 +26,8 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$pkgver"
+ # work around issue with in6_pktinfo in uclibc
+ CFLAGS="$CFLAGS -D_GNU_SOURCE"
./configure \
--build=$CBUILD \
--host=$CHOST \