mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
Modified dhcpcd
This commit is contained in:
parent
a905fcd2e2
commit
5d6c479dfa
1 changed files with 6 additions and 6 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue