diff options
author | adam <adam@pkgsrc.org> | 2013-10-05 07:40:59 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2013-10-05 07:40:59 +0000 |
commit | f526d17c8ee9ed2c744cbfded87279a60acab7b2 (patch) | |
tree | 1878cf3bfc4cf495652616e13317bc712ea914a5 | |
parent | d92849d125860bd51116225e1eecb4b16b89df64 (diff) | |
download | pkgsrc-f526d17c8ee9ed2c744cbfded87279a60acab7b2.tar.gz |
Use INSTALL_LIB with 7z.so; fixes 'symbols referenced by indirect symbol table entries that can't be stripped' on Darwin
-rw-r--r-- | archivers/p7zip/Makefile | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/archivers/p7zip/Makefile b/archivers/p7zip/Makefile index 3cc6e7f5e39..d50b4e0e3ca 100644 --- a/archivers/p7zip/Makefile +++ b/archivers/p7zip/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.53 2013/10/05 06:16:39 wiz Exp $ +# $NetBSD: Makefile,v 1.54 2013/10/05 07:40:59 adam Exp $ DISTNAME= p7zip_9.20.1_src_all PKGNAME= p7zip-9.20.1 @@ -60,7 +60,7 @@ CFLAGS+= -DLITTLE_ENDIAN do-install: ${INSTALL_PROGRAM} ${WRKSRC}/bin/7za ${DESTDIR}${PREFIX}/bin .if !empty(DYNAMIC_7Z:MYES) - ${INSTALL_PROGRAM} ${WRKSRC}/bin/7z.so ${DESTDIR}${PREFIX}/lib/ + ${INSTALL_LIB} ${WRKSRC}/bin/7z.so ${DESTDIR}${PREFIX}/lib/ ${INSTALL_PROGRAM} ${WRKSRC}/bin/7z ${DESTDIR}${PREFIX}/lib/7z ln -f -s ${PREFIX}/lib/7z/7z ${DESTDIR}${PREFIX}/bin ${INSTALL_LIB} ${WRKSRC}/bin/Codecs/* \ |