summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/liboggz/files/liboggz-0.9.9-destdir.patch')
-rw-r--r--media-libs/liboggz/files/liboggz-0.9.9-destdir.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/media-libs/liboggz/files/liboggz-0.9.9-destdir.patch b/media-libs/liboggz/files/liboggz-0.9.9-destdir.patch
new file mode 100644
index 000000000000..81f438b2062a
--- /dev/null
+++ b/media-libs/liboggz/files/liboggz-0.9.9-destdir.patch
@@ -0,0 +1,16 @@
+Index: liboggz-0.9.9/src/tools/Makefile.in
+===================================================================
+--- liboggz-0.9.9.orig/src/tools/Makefile.in
++++ liboggz-0.9.9/src/tools/Makefile.in
+@@ -786,10 +786,7 @@ uninstall-info: uninstall-info-recursive
+ # see http://lists.xiph.org/pipermail/ogg-dev/2008-July/001083.html
+ install-exec-local:
+ for p in dump diff info merge rip ; do \
+- if test -e $(exec_prefix)/bin/oggz$$p ; then \
+- $(RM) $(exec_prefix)/bin/oggz$$p ; \
+- $(LN_S) $(exec_prefix)/bin/oggz-$$p $(exec_prefix)/bin/oggz$$p ; \
+- fi ; \
++ $(LN_S) $(exec_prefix)/bin/oggz-$$p $(DESTDIR)$(exec_prefix)/bin/oggz$$p ; \
+ done
+
+ # On 'make uninstall', remove the deprecated tool -- but only if it is a