diff options
Diffstat (limited to 'homebrew/dvdxrwtools/patches.sh')
-rwxr-xr-x | homebrew/dvdxrwtools/patches.sh | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/homebrew/dvdxrwtools/patches.sh b/homebrew/dvdxrwtools/patches.sh new file mode 100755 index 000000000..156902589 --- /dev/null +++ b/homebrew/dvdxrwtools/patches.sh @@ -0,0 +1,18 @@ +echo 'Creating brew-patch.diff' +cat << EOF >> brew-patch.diff +diff --git a/Makefile.m4 b/Makefile.m4 +index a6a100b..bf7c041 100644 +--- a/Makefile.m4 ++++ b/Makefile.m4 +@@ -30,8 +30,8 @@ LINK.o =$(LINK.cc) + # to install set-root-uid, `make BIN_MODE=04755 install'... + BIN_MODE?=0755 + install: dvd+rw-tools +- install -o root -m $(BIN_MODE) $(CHAIN) /usr/bin +- install -o root -m 0644 growisofs.1 /usr/share/man/man1 ++ install -m $(BIN_MODE) $(CHAIN) $(PREFIX)/bin ++ install -m 0644 growisofs.1 $(PREFIX)/share/man/man1 + ]) + + ifelse(OS,MINGW32,[ +EOF |