diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-03-17 11:11:08 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2017-03-17 11:11:08 +0000 |
commit | 1a9be35ea7d345147de8a5a140faac42eb4952af (patch) | |
tree | ebfdb0e96b2a2163933169a63c2dad751f53f0f4 /main | |
parent | e07695e1581744e63bd459f7fa827f51c4d8dbf7 (diff) | |
download | aports-1a9be35ea7d345147de8a5a140faac42eb4952af.tar.bz2 aports-1a9be35ea7d345147de8a5a140faac42eb4952af.tar.xz |
main/dhcp: fix mdepends and dhclient.conf search. Fixes #7005
Diffstat (limited to 'main')
-rw-r--r-- | main/dhcp/APKBUILD | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/main/dhcp/APKBUILD b/main/dhcp/APKBUILD index 72122338c2..d47fab7a73 100644 --- a/main/dhcp/APKBUILD +++ b/main/dhcp/APKBUILD @@ -2,7 +2,7 @@ pkgname=dhcp pkgver=4.3.4 _realver=${pkgver/_p/-P} -pkgrel=2 +pkgrel=3 pkgdesc="ISC Dynamic Host Configuration Protocol (DHCP)" url="https://www.isc.org/" arch="all" @@ -10,7 +10,7 @@ license="ISC" depends= pkgusers="dhcp" pkggroups="dhcp" -makedepends="perl linux-headers" +makedepends="perl linux-headers file" install="dhcp.pre-install dhcp.pre-upgrade dhcp.post-upgrade" subpackages="$pkgname-doc $pkgname-dev $pkgname-dbg dhclient dhcrelay" source="http://ftp.isc.org/isc/dhcp/${_realver}/$pkgname-$_realver.tar.gz @@ -34,7 +34,8 @@ prepare() { build() { cd "$_builddir" # fix ipv6 - export CFLAGS="$CFLAGS -D_GNU_SOURCE" + export CFLAGS="$CFLAGS -D_GNU_SOURCE \ + -D_PATH_DHCLIENT_CONF='\"/etc/dhcp/dhclient.conf\"'" ./configure \ --build=$CBUILD \ --host=$CHOST \ |