aboutsummaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authorTobias Kortkamp <tobik@FreeBSD.org>2018-10-11 14:33:19 +0000
committerTobias Kortkamp <tobik@FreeBSD.org>2018-10-11 14:33:19 +0000
commit57234ab4648b5eaae3844be4073250648a97b2ca (patch)
tree71a4ea9ee0615e379b5075068de3e29245c9f1da /multimedia
parent5d66b7e3b770a95af3de6f3adb0dd0ef72892689 (diff)
downloadports-57234ab4648b5eaae3844be4073250648a97b2ca.tar.gz
ports-57234ab4648b5eaae3844be4073250648a97b2ca.zip
multimedia/libdca: Fix bad absolute symlinks
PR: 224230 Reported by: wosch
Notes
Notes: svn path=/head/; revision=481831
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/libdca/Makefile1
-rw-r--r--multimedia/libdca/files/patch-src_Makefile.in11
2 files changed, 12 insertions, 0 deletions
diff --git a/multimedia/libdca/Makefile b/multimedia/libdca/Makefile
index f333ac4f941e..6e2352ef6536 100644
--- a/multimedia/libdca/Makefile
+++ b/multimedia/libdca/Makefile
@@ -3,6 +3,7 @@
PORTNAME= libdca
PORTVERSION= 0.0.6
+PORTREVISION= 1
CATEGORIES= multimedia
MASTER_SITES= http://download.videolan.org/pub/videolan/${PORTNAME}/${PORTVERSION}/
diff --git a/multimedia/libdca/files/patch-src_Makefile.in b/multimedia/libdca/files/patch-src_Makefile.in
new file mode 100644
index 000000000000..b854ef6ae6d3
--- /dev/null
+++ b/multimedia/libdca/files/patch-src_Makefile.in
@@ -0,0 +1,11 @@
+--- src/Makefile.in.orig 2018-10-11 14:20:58 UTC
++++ src/Makefile.in
+@@ -776,7 +776,7 @@ install-data-hook:
+ for a in dcadec extract_dca; do \
+ oldname=`echo "$$a" | sed -e 's/ca/ts/' | sed '$(transform)'` ; \
+ name=`echo "$$a" | sed '$(transform)'` ; \
+- ln -sf "$(man1dir)/$${name}.1" "$(DESTDIR)$(man1dir)/$${oldname}.1" ; \
++ install -l rs "$(DESTDIR)$(man1dir)/$${name}.1" "$(DESTDIR)$(man1dir)/$${oldname}.1" ; \
+ done
+
+ uninstall-hook: