summary refs log tree commit diff
path: root/pkgs/tools/cd-dvd/dvd+rw-tools/darwin.patch
diff options
context:
space:
mode:
Diffstat (limited to 'pkgs/tools/cd-dvd/dvd+rw-tools/darwin.patch')
-rw-r--r--pkgs/tools/cd-dvd/dvd+rw-tools/darwin.patch17
1 files changed, 17 insertions, 0 deletions
diff --git a/pkgs/tools/cd-dvd/dvd+rw-tools/darwin.patch b/pkgs/tools/cd-dvd/dvd+rw-tools/darwin.patch
new file mode 100644
index 0000000000000..7a7490c52673e
--- /dev/null
+++ b/pkgs/tools/cd-dvd/dvd+rw-tools/darwin.patch
@@ -0,0 +1,17 @@
+diff --git a/Makefile.m4 b/Makefile.m4
+index a6a100b..bf7c041 100644
+--- a/Makefile.m4
++++ b/Makefile.m4
+@@ -30,8 +32,10 @@ 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 -d $(prefix)/bin
++	install -d $(prefix)/share/man/man1
++	install -m $(BIN_MODE) $(CHAIN) $(prefix)/bin
++	install -m 0644 growisofs.1 $(prefix)/share/man/man1
+ ])
+ 
+ ifelse(OS,MINGW32,[