aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorriggs <riggs@FreeBSD.org>2014-03-02 19:29:25 +0800
committerriggs <riggs@FreeBSD.org>2014-03-02 19:29:25 +0800
commit31295aafd7a13e136a075f8694453165db9b9b7f (patch)
tree8a5894f8a2e7973440e3cbd65278545577278e1e /audio
parent2843a77a4934f649ba861d8a1779ac7aae330480 (diff)
downloadfreebsd-ports-gnome-31295aafd7a13e136a075f8694453165db9b9b7f.tar.gz
freebsd-ports-gnome-31295aafd7a13e136a075f8694453165db9b9b7f.tar.zst
freebsd-ports-gnome-31295aafd7a13e136a075f8694453165db9b9b7f.zip
- Fix symlink pointing to non-existing manpage
- Bump PORTREVISION PR: ports/186540 Submitted by: Tsurutani Naoki <turutani@scphys.kyoto-u.ac.jp> Approved by: thierry (mentor), Dan Nelson <dnelson@allantgroup.com> (maintainer) MFH: 2014Q1
Diffstat (limited to 'audio')
-rw-r--r--audio/sox/Makefile2
-rw-r--r--audio/sox/files/patch-Makefile.am14
2 files changed, 15 insertions, 1 deletions
diff --git a/audio/sox/Makefile b/audio/sox/Makefile
index a60bd406dbcb..f60e734af6b4 100644
--- a/audio/sox/Makefile
+++ b/audio/sox/Makefile
@@ -3,7 +3,7 @@
PORTNAME= sox
PORTVERSION= 14.4.1
-PORTREVISION= 2
+PORTREVISION= 3
CATEGORIES= audio
MASTER_SITES= SF
diff --git a/audio/sox/files/patch-Makefile.am b/audio/sox/files/patch-Makefile.am
new file mode 100644
index 000000000000..3f216d7a777b
--- /dev/null
+++ b/audio/sox/files/patch-Makefile.am
@@ -0,0 +1,14 @@
+Work around a ports bug wrt symlinking manpages in different
+categories, by copying the manpage instead.
+
+--- Makefile.am.orig 2013-01-30 11:40:06.000000000 +0900
++++ Makefile.am 2014-02-08 01:46:11.000000000 +0900
+@@ -118,7 +118,7 @@
+ install-data-hook:
+ cd $(DESTDIR)$(mandir)/man1 && $(RM) play.1 && $(LN_S) sox.1 play.1
+ cd $(DESTDIR)$(mandir)/man1 && $(RM) rec.1 && $(LN_S) sox.1 rec.1
+- cd $(DESTDIR)$(mandir)/man7 && $(RM) soxeffect.7 && $(LN_S) ../man1/sox.1 soxeffect.7
++ cd $(DESTDIR)$(mandir)/man7 && $(RM) soxeffect.7 && cp ../man1/sox.1 soxeffect.7
+
+ uninstall-hook:
+ $(RM) $(DESTDIR)$(mandir)/man1/play.1