void-packages/srcpkgs/ifupdown/patches/installdirs.patch
Michael Aldridge 61b020463b New package: ifupdown-0.8.19
Closes: #6996 [via git-merge-pr]
2017-07-09 14:26:04 -04:00

21 lines
912 B
Diff

--- Makefile.orig 2017-07-07 00:44:37.125611266 -0700
+++ Makefile 2017-07-07 00:45:02.196667767 -0700
@@ -22,12 +22,12 @@
.SECONDARY: link.c ipx.c can.c meta.c inet6.c inet.c
install :
- install -m 0755 -d ${BASEDIR}/sbin
- install -m 0755 ifup ${BASEDIR}/sbin
- ln -s /sbin/ifup ${BASEDIR}/sbin/ifdown
- ln -s /sbin/ifup ${BASEDIR}/sbin/ifquery
- install -D -m 0755 settle-dad.sh $(BASEDIR)/lib/ifupdown/settle-dad.sh
- install -D -m 0755 wait-for-ll6.sh $(BASEDIR)/lib/ifupdown/wait-for-ll6.sh
+ install -m 0755 -d ${BASEDIR}/usr/bin
+ install -m 0755 ifup ${BASEDIR}/usr/bin
+ ln -s /usr/bin/ifup ${BASEDIR}/usr/bin/ifdown
+ ln -s /usr/bin/ifup ${BASEDIR}/usr/bin/ifquery
+ install -D -m 0755 settle-dad.sh $(BASEDIR)/usr/lib/ifupdown/settle-dad.sh
+ install -D -m 0755 wait-for-ll6.sh $(BASEDIR)/usr/lib/ifupdown/wait-for-ll6.sh
clean :
rm -f *.o $(patsubst %.defn,%.c,$(DEFNFILES)) *~