diff options
Diffstat (limited to 'homebrew/bgpq3/patches.sh')
-rwxr-xr-x | homebrew/bgpq3/patches.sh | 20 |
1 files changed, 20 insertions, 0 deletions
diff --git a/homebrew/bgpq3/patches.sh b/homebrew/bgpq3/patches.sh new file mode 100755 index 000000000..abf01a456 --- /dev/null +++ b/homebrew/bgpq3/patches.sh @@ -0,0 +1,20 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/Makefile.in b/Makefile.in +index c2d7e96..afec780 100644 +--- a/Makefile.in ++++ b/Makefile.in +@@ -29,9 +29,10 @@ clean: + rm -rf *.o *.core core.* core + + install: bgpq3 ++ if test ! -d @prefix@/bin ; then mkdir -p @prefix@/bin ; fi + ${INSTALL} -c -s -m 755 bgpq3 @bindir@ +- if test ! -d @prefix@/man/man8 ; then mkdir -p @prefix@/man/man8 ; fi +- ${INSTALL} -m 644 bgpq3.8 @prefix@/man/man8 ++ if test ! -d @mandir@/man8 ; then mkdir -p @mandir@/man8 ; fi ++ ${INSTALL} -m 644 bgpq3.8 @mandir@/man8 + + depend: + makedepend -- $(CFLAGS) -- $(SRCS) +EOF |