summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-sound/sox/files/sox-12.17.9-destdir.patch')
-rw-r--r--media-sound/sox/files/sox-12.17.9-destdir.patch101
1 files changed, 101 insertions, 0 deletions
diff --git a/media-sound/sox/files/sox-12.17.9-destdir.patch b/media-sound/sox/files/sox-12.17.9-destdir.patch
new file mode 100644
index 000000000000..da843c69c199
--- /dev/null
+++ b/media-sound/sox/files/sox-12.17.9-destdir.patch
@@ -0,0 +1,101 @@
+diff -uprN sox-12.17.7.orig/Makefile.in sox-12.17.7/Makefile.in
+--- sox-12.17.7.orig/Makefile.in 2005-02-18 17:42:00.437529456 +0100
++++ sox-12.17.7/Makefile.in 2005-02-18 17:46:40.584940576 +0100
+@@ -32,22 +32,22 @@ PLAY_INSTALL_1 = install-play
+
+ install: $(PLAY_INSTALL_$(PLAY_SUPPORT))
+ cd src && $(MAKE) $@
+- $(srcdir)/mkinstalldirs $(mandir)/man1
+- $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(mandir)/man1
+- if [ -f $(mandir)/man1/soxmix.1 ] ; then $(RM) $(mandir)/man1/soxmix.1; fi
+- cd $(mandir)/man1 && $(LN_S) sox.1 soxmix.1
+- $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(mandir)/man1
++ $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -c -m 644 $(srcdir)/sox.1 $(DESTDIR)$(mandir)/man1
++ if [ -f $(DESTDIR)$(mandir)/man1/soxmix.1 ] ; then $(RM) $(DESTDIR)$(mandir)/man1/soxmix.1; fi
++ cd $(DESTDIR)$(mandir)/man1 && $(LN_S) sox.1 soxmix.1
++ $(INSTALL) -c -m 644 $(srcdir)/soxexam.1 $(DESTDIR)$(mandir)/man1
+
+ install-play:
+- if [ -f $(mandir)/man1/rec.1 ]; then $(RM) $(mandir)/man1/rec.1; fi
+- $(srcdir)/mkinstalldirs $(mandir)/man1
+- $(INSTALL) -c -m 644 $(srcdir)/play.1 $(mandir)/man1
+- cd $(mandir)/man1 && $(LN_S) play.1 rec.1
++ if [ -f $(DESTDIR)$(mandir)/man1/rec.1 ]; then $(RM) $(DESTDIR)$(mandir)/man1/rec.1; fi
++ $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man1
++ $(INSTALL) -c -m 644 $(srcdir)/play.1 $(DESTDIR)$(mandir)/man1
++ cd $(DESTDIR)$(mandir)/man1 && $(LN_S) play.1 rec.1
+
+ install-lib:
+ cd src && $(MAKE) $@
+- $(srcdir)/mkinstalldirs $(mandir)/man3
+- $(INSTALL) -c -m 644 $(srcdir)/libst.3 $(mandir)/man3
++ $(srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
++ $(INSTALL) -c -m 644 $(srcdir)/libst.3 $(DESTDIR)$(mandir)/man3
+
+
+ PLAY_UNINSTALL_0 =
+diff -uprN sox-12.17.7.orig/src/gsm/Makefile.in sox-12.17.7/src/gsm/Makefile.in
+--- sox-12.17.7.orig/src/gsm/Makefile.in 2005-02-18 17:42:00.406534168 +0100
++++ sox-12.17.7/src/gsm/Makefile.in 2005-02-18 17:49:41.294468552 +0100
+@@ -77,12 +77,12 @@ libgsm.a: $(LIBOBJS)
+ $(RANLIB) libgsm.a
+
+ install-lib: libgsm.a
+- $(top_srcdir)/mkinstalldirs $(libdir)
+- $(top_srcdir)/mkinstalldirs $(mandir)/man3
+- $(INSTALL) -c -m 644 libgsm.a $(libdir)
+- $(RANLIB) $(libdir)/libgsm.a
+- $(INSTALL) -c -m 644 gsm.3 $(mandir)/man3
+- $(INSTALL) -c -m 644 gsm_option.3 $(mandir)/man3
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(mandir)/man3
++ $(INSTALL) -c -m 644 libgsm.a $(DESTDIR)$(libdir)
++ $(RANLIB) $(DESTDIR)$(libdir)/libgsm.a
++ $(INSTALL) -c -m 644 gsm.3 $(DESTDIR)$(mandir)/man3
++ $(INSTALL) -c -m 644 gsm_option.3 $(DESTDIR)$(mandir)/man3
+
+ uninstall-lib:
+ $(RM) $(libdir)/libgsm.a
+diff -uprN sox-12.17.7.orig/src/Makefile.in sox-12.17.7/src/Makefile.in
+--- sox-12.17.7.orig/src/Makefile.in 2005-02-18 17:42:00.430530520 +0100
++++ sox-12.17.7/src/Makefile.in 2005-02-18 17:48:52.486888432 +0100
+@@ -103,24 +103,24 @@ PLAY_INSTALL_0 =
+ PLAY_INSTALL_1 = install-play
+
+ install: sox soxmix $(PLAY_INSTALL_$(PLAY_SUPPORT))
+- $(top_srcdir)/mkinstalldirs $(bindir)
+- $(INSTALL) -c -m 755 sox $(bindir)
+- $(INSTALL) -c -m 755 soxmix $(bindir)
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
++ $(INSTALL) -c -m 755 sox $(DESTDIR)$(bindir)
++ $(INSTALL) -c -m 755 soxmix $(DESTDIR)$(bindir)
+
+ install-play:
+- if [ -f $(bindir)/rec ] ; then $(RM) $(bindir)/rec; fi
+- $(top_srcdir)/mkinstalldirs $(bindir)
+- $(INSTALL) -c -m 755 play $(bindir)
+- cd $(bindir) && $(LN_S) play rec
++ if [ -f $(DESTDIR)$(bindir)/rec ] ; then $(RM) $(DESTDIR)$(bindir)/rec; fi
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(bindir)
++ $(INSTALL) -c -m 755 play $(DESTDIR)$(bindir)
++ cd $(DESTDIR)$(bindir) && $(LN_S) play rec
+
+ install-lib: libst.a
+- $(top_srcdir)/mkinstalldirs $(libdir)
+- $(top_srcdir)/mkinstalldirs $(includedir)
+- $(INSTALL) -c -m 755 libst-config $(bindir)
+- $(INSTALL) -c -m 644 libst.a $(libdir)
+- $(RANLIB) $(libdir)/libst.a
+- $(INSTALL) -c -m 644 $(srcdir)/st.h $(includedir)
+- $(INSTALL) -c -m 644 ststdint.h $(includedir)
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(libdir)
++ $(top_srcdir)/mkinstalldirs $(DESTDIR)$(includedir)
++ $(INSTALL) -c -m 755 libst-config $(DESTDIR)$(bindir)
++ $(INSTALL) -c -m 644 libst.a $(DESTDIR)$(libdir)
++ $(RANLIB) $(DESTDIR)$(libdir)/libst.a
++ $(INSTALL) -c -m 644 $(srcdir)/st.h $(DESTDIR)$(includedir)
++ $(INSTALL) -c -m 644 ststdint.h $(DESTDIR)$(includedir)
+
+ PLAY_UNINSTALL_0 =
+ PLAY_UNINSTALL_1 = uninstall-play