summaryrefslogtreecommitdiff
path: root/multimedia
diff options
context:
space:
mode:
authortonio <tonio>2009-01-28 16:03:37 +0000
committertonio <tonio>2009-01-28 16:03:37 +0000
commitd0d8f03eb1402482ada7e9a5174b40db613103cd (patch)
tree669adfc06c67f40fb61bccd8ddc85fc709033dd3 /multimedia
parent09ea2cce915d816c9402d6410a547b1a8c704d6e (diff)
downloadpkgsrc-d0d8f03eb1402482ada7e9a5174b40db613103cd.tar.gz
Fix PLIST issue on Darwin with user-destdir set
Diffstat (limited to 'multimedia')
-rw-r--r--multimedia/xvidcore/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/multimedia/xvidcore/Makefile b/multimedia/xvidcore/Makefile
index 3fb81dd96ef..3a1b4b80885 100644
--- a/multimedia/xvidcore/Makefile
+++ b/multimedia/xvidcore/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2009/01/24 05:34:42 jmcneill Exp $
+# $NetBSD: Makefile,v 1.34 2009/01/28 16:03:37 tonio Exp $
DISTNAME= xvidcore-1.2.1
PKGREVISION= 1
@@ -47,7 +47,8 @@ MAKE_ENV+= MKDIR=${MKDIR:Q}
.if ${OPSYS} == "Darwin"
post-install:
${RM} -f ${DESTDIR}${PREFIX}/lib/libxvidcore.so.4
- ${MV} -f ${DESTDIR}${PREFIX}/lib/libxvidcore.so ${DESTDIR}${PREFIX}/lib/libxvidcore.dylib
+ ${RM} -f ${DESTDIR}${PREFIX}/lib/libxvidcore.so
+ ${LN} -sf ${DESTDIR}${PREFIX}/lib/libxvidcore.4.dylib ${DESTDIR}${PREFIX}/lib/libxvidcore.dylib
.endif
.include "../../mk/bsd.pkg.mk"