Modified dhcpcd

This commit is contained in:
Mike Staszel 2009-09-26 13:45:36 -05:00
parent a905fcd2e2
commit 5d6c479dfa

View file

@ -23,12 +23,12 @@ build() {
cd ${srcdir}/${pkgname}-${pkgver}
# Fix Installation Locations
export PREFIX=/opt
sed -i 's/${PREFIX}\/etc/\/etc/' Makefile || return 1
sed -i 's/\/db/\/opt/lib\/dhcpcd/' Makefile || return 1
sed -i 's/\/libexec/\/opt/lib\/dhcpcd/' Makefile || return 1
sed -i 's/\/libexec/\/opt/lib\/dhcpcd/' dhcpcd-hooks/Makefile || return 1
sed -i 's/${PREFIX}\/sbin/\/opt/sbin/' Makefile || return 1
# export PREFIX=/opt
# sed -i 's/\/opt/etc/\/opt/etc/' Makefile || return 1
# sed -i 's/\/db/\/opt/lib\/dhcpcd/' Makefile || return 1
# sed -i 's/\/libexec/\/opt/lib\/dhcpcd/' Makefile || return 1
# sed -i 's/\/libexec/\/opt/lib\/dhcpcd/' dhcpcd-hooks/Makefile || return 1
# sed -i 's/\/opt/\/sbin/\/opt/sbin/' Makefile || return 1
# Build
make || return 1