diff --git a/templates/dhcpcd/template b/templates/dhcpcd/template index 4567b12c879..a2aa28818f3 100644 --- a/templates/dhcpcd/template +++ b/templates/dhcpcd/template @@ -1,11 +1,12 @@ # Template file for 'dhcpcd' pkgname=dhcpcd -version=5.0.7 +version=5.1.0 distfiles="http://roy.marples.name/downloads/dhcpcd/dhcpcd-$version.tar.bz2" -build_style=gnu_makefile +build_style=configure +configure_args="--libexecdir=/lib/dhcpcd" short_desc="RFC2131 compliant DHCP client" maintainer="Juan RP " -checksum=331094cfd06a694f9b5dc1fa0bf966431b612f3070832dcb23edbb89ab8ad544 +checksum=bb761bc9eefa7f528fd74d9a10518ebd5f99c18fc2b0a98196c8cd106eb9188b long_desc=" dhcpcd is a RFC 2131 compliant DHCP client. It's also a RFC 3927 compliant IPv4LL (aka ZeroConf) client. @@ -19,13 +20,6 @@ Add_dependency run glibc conf_files="/etc/dhcpcd.conf" openrc_services="dhcpcd default" -pre_configure() -{ - cd $wrksrc - sed -i 's/\/libexec/\/lib\/dhcpcd/' Makefile - sed -i 's/\/libexec/\/lib\/dhcpcd/' dhcpcd-hooks/Makefile -} - post_install() { # Install the OpenRC service