pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/multimedia/xvidcore Fix PLIST issue on Darwin with use...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0a6b92c0c8d9
branches:  trunk
changeset: 553723:0a6b92c0c8d9
user:      tonio <tonio%pkgsrc.org@localhost>
date:      Wed Jan 28 16:03:37 2009 +0000

description:
Fix PLIST issue on Darwin with user-destdir set

diffstat:

 multimedia/xvidcore/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 5d439b35779c -r 0a6b92c0c8d9 multimedia/xvidcore/Makefile
--- a/multimedia/xvidcore/Makefile      Wed Jan 28 15:44:20 2009 +0000
+++ b/multimedia/xvidcore/Makefile      Wed Jan 28 16:03:37 2009 +0000
@@ -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 @@
 .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"



Home | Main Index | Thread Index | Old Index