From 2580b5e3492131e00db74b2a850ccbf1c2fc468a Mon Sep 17 00:00:00 2001 From: Juan RP Date: Sun, 29 Mar 2015 09:10:46 +0200 Subject: [PATCH] dhcp: remove useless -devel subpkg. --- srcpkgs/dhcp-devel | 1 - srcpkgs/dhcp/template | 17 +++-------------- 2 files changed, 3 insertions(+), 15 deletions(-) delete mode 120000 srcpkgs/dhcp-devel diff --git a/srcpkgs/dhcp-devel b/srcpkgs/dhcp-devel deleted file mode 120000 index 2f2406769e8..00000000000 --- a/srcpkgs/dhcp-devel +++ /dev/null @@ -1 +0,0 @@ -dhcp \ No newline at end of file diff --git a/srcpkgs/dhcp/template b/srcpkgs/dhcp/template index bfc8856693c..636a475d022 100644 --- a/srcpkgs/dhcp/template +++ b/srcpkgs/dhcp/template @@ -1,7 +1,7 @@ # Template file for 'dhcp' pkgname=dhcp version=4.2.3 -revision=3 +revision=4 build_style=gnu-configure hostmakedepends="perl" short_desc="Server from the Internet Software Consortium's implementation of DHCP" @@ -18,9 +18,6 @@ _configure_args+=" --enable-paranoia --with-cli6-lease-file=/var/lib/dhclient/dhclient6.leases" pre_configure() { - # assume that there is /dev/random. Fixes cross compiling - sed -i "2i\ac_cv_file__dev_random=yes" configure - # patching bind Makefile to patch with a cross fix while building (WTF?!) sed -i "s#./configure#patch -p0 < $FILESDIR/003_cross_fix.patch \&\& ac_cv_file__dev_random=yes ./configure $configure_args#" bind/Makefile @@ -32,6 +29,8 @@ post_install() { sed -i "s/^/#/" $DESTDIR/etc/dhclient.conf $DESTDIR/etc/dhcpd.conf vsv dhcpd4 vsv dhcpd6 + # Remove development stuff, useless... + rm -rf ${DESTDIR}/usr/include ${DESTDIR}/usr/lib ${DESTDIR}/usr/share/man/man3 } dhclient_package() { @@ -45,13 +44,3 @@ dhclient_package() { vsv dhclient } } - -dhcp-devel_package() { - depends="dhcp>=${version}_${revision} dhclient>=${version}_${revision}" - short_desc+=" - development files" - pkg_install() { - vmove usr/include - vmove "usr/lib/*.a" - vmove usr/share/man/man3 - } -}