diff options
author | adam <adam@pkgsrc.org> | 2014-06-14 17:56:43 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2014-06-14 17:56:43 +0000 |
commit | bc7f66c9d8c0fd39ec1124619932d62b88f754b8 (patch) | |
tree | 93047e15753ed6fd971c498f1d64393908f7cc7a | |
parent | 012920080fad86d4cd7f5e39525af6cb7275cc8e (diff) | |
download | pkgsrc-bc7f66c9d8c0fd39ec1124619932d62b88f754b8.tar.gz |
install_name_tool must be used on OS X
-rw-r--r-- | graphics/lensfun/Makefile | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/graphics/lensfun/Makefile b/graphics/lensfun/Makefile index 8a53166da73..af81180cf10 100644 --- a/graphics/lensfun/Makefile +++ b/graphics/lensfun/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.26 2014/05/17 16:10:45 wiz Exp $ +# $NetBSD: Makefile,v 1.27 2014/06/14 17:56:43 adam Exp $ DISTNAME= lensfun-0.2.8 PKGREVISION= 1 @@ -37,6 +37,9 @@ post-install: .if ${OPSYS} == "Darwin" ${MV} ${DESTDIR}${PREFIX}/lib/liblensfun.dylib.${PKGVERSION_NOREV} \ ${DESTDIR}${PREFIX}/lib/liblensfun.${PKGVERSION_NOREV}.dylib + install_name_tool -id \ + ${PREFIX}/lib/liblensfun.${PKGVERSION_NOREV}.dylib \ + ${DESTDIR}${PREFIX}/lib/liblensfun.${PKGVERSION_NOREV}.dylib ${RM} ${DESTDIR}${PREFIX}/lib/liblensfun.dylib* ${LN} -s liblensfun.${PKGVERSION_NOREV}.dylib \ ${DESTDIR}${PREFIX}/lib/liblensfun.0.dylib |