summaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2010-04-20 11:15:59 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2010-04-20 11:52:59 +0000
commit0096ba8a9670b53b45ca6398f589214167c17ffc (patch)
tree670e2c345991b950b38263afd219ec2d9f2fa3f7 /main
parent75c70ece90a9e2a2e0ca4edfdfafdcb3baae2d94 (diff)
downloadaports-0096ba8a9670b53b45ca6398f589214167c17ffc.tar.bz2
aports-0096ba8a9670b53b45ca6398f589214167c17ffc.tar.xz
main/dhcp: fix for ipv6
Diffstat (limited to 'main')
-rw-r--r--main/dhcp/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD
index 33f4e8531..4ecd8dff2 100644
--- a/main/dhcp/APKBUILD
+++ b/main/dhcp/APKBUILD
@@ -2,7 +2,7 @@
pkgname=dhcp
pkgver=4.1.0_p1
_realver=4.1.0p1
-pkgrel=8
+pkgrel=9
pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)"
url="https://www.isc.org/"
license="GPL"
@@ -26,6 +26,8 @@ prepare() {
build() {
cd "$srcdir/$pkgname-$_realver"
+ # fix ipv6
+ export CFLAGS="$CFLAGS -D_GNU_SOURCE"
./configure --prefix=/usr \
--sysconfdir=/etc/dhcp \
--with-cli-pid-file=/var/run/dhcp/dhclient.pid \