aboutsummaryrefslogtreecommitdiffstats
path: root/multimedia
diff options
context:
space:
mode:
authortobik <tobik@FreeBSD.org>2018-10-11 22:33:19 +0800
committertobik <tobik@FreeBSD.org>2018-10-11 22:33:19 +0800
commitb580c561c739df0564261f6cd306a9791506bd04 (patch)
tree71a4ea9ee0615e379b5075068de3e29245c9f1da /multimedia
parent6e640d7fb53819153f34fcc6230a76e09780df38 (diff)
downloadfreebsd-ports-gnome-b580c561c739df0564261f6cd306a9791506bd04.tar.gz
freebsd-ports-gnome-b580c561c739df0564261f6cd306a9791506bd04.tar.zst
freebsd-ports-gnome-b580c561c739df0564261f6cd306a9791506bd04.zip
multimedia/libdca: Fix bad absolute symlinks
PR: 224230 Reported by: wosch
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: