diff options
author | adam <adam@pkgsrc.org> | 2016-03-06 14:13:36 +0000 |
---|---|---|
committer | adam <adam@pkgsrc.org> | 2016-03-06 14:13:36 +0000 |
commit | 8ec15f188e3194e6a16f0bc975639da40389b578 (patch) | |
tree | 07305bc83474b69f89b866baf1e6c5942e24a10f /lang | |
parent | 9ab7a2835fd8b8b2abc9c0c420671555284dca92 (diff) | |
download | pkgsrc-8ec15f188e3194e6a16f0bc975639da40389b578.tar.gz |
Fix shared library name on Darwin
Diffstat (limited to 'lang')
-rw-r--r-- | lang/tcl-expect/Makefile | 11 |
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/tcl-expect/Makefile b/lang/tcl-expect/Makefile index 14ed629f224..cbc6c5209a2 100644 --- a/lang/tcl-expect/Makefile +++ b/lang/tcl-expect/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.31 2014/03/13 11:08:51 jperkin Exp $ +# $NetBSD: Makefile,v 1.32 2016/03/06 14:13:36 adam Exp $ .include "Makefile.common" @@ -17,5 +17,14 @@ CONFIGURE_ARGS+= --without-x INSTALL_MAKE_FLAGS+= INSTALL_ROOT=${DESTDIR:Q} +.include "../../mk/bsd.prefs.mk" + +# XXX: libexpect should have .dylib suffix +.if ${OPSYS} == "Darwin" +post-build: + install_name_tool -id ${PREFIX}/lib/libexpect${EXPECT_SONUM}.so \ + ${WRKSRC}/libexpect${EXPECT_SONUM}.so +.endif + .include "../../lang/tcl/buildlink3.mk" .include "../../mk/bsd.pkg.mk" |