summaryrefslogtreecommitdiffstats
path: root/main/dhcp
diff options
context:
space:
mode:
Diffstat (limited to 'main/dhcp')
-rw-r--r--main/dhcp/APKBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD
index ab15af69b..517815a2c 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 \