pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/tcl-expect tcl-expect: Ensure the correct tcl ins...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/de5a339fe7c9
branches:  trunk
changeset: 384956:de5a339fe7c9
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Fri Sep 07 08:51:39 2018 +0000

description:
tcl-expect: Ensure the correct tcl install is used.

Also fix another Darwin library name.

diffstat:

 lang/tcl-expect/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (26 lines):

diff -r 71e37351b0c9 -r de5a339fe7c9 lang/tcl-expect/Makefile
--- a/lang/tcl-expect/Makefile  Fri Sep 07 00:49:04 2018 +0000
+++ b/lang/tcl-expect/Makefile  Fri Sep 07 08:51:39 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2018/08/27 07:12:08 wiz Exp $
+# $NetBSD: Makefile,v 1.34 2018/09/07 08:51:39 jperkin Exp $
 
 .include "Makefile.common"
 
@@ -13,6 +13,7 @@
 USE_GCC_RUNTIME=       yes
 
 CONFIGURE_ARGS+=       --enable-shared
+CONFIGURE_ARGS+=       --with-tclconfig=${BUILDLINK_PREFIX.tcl}/lib
 CONFIGURE_ARGS+=       --without-x
 
 INSTALL_MAKE_FLAGS+=   INSTALL_ROOT=${DESTDIR:Q}
@@ -24,6 +25,8 @@
 post-build:
        install_name_tool -id ${PREFIX}/lib/libexpect${EXPECT_SONUM}.so \
                ${WRKSRC}/libexpect${EXPECT_SONUM}.so
+       install_name_tool -change libexpect${EXPECT_SONUM}.so \
+               ${PREFIX}/lib/libexpect${EXPECT_SONUM}.so ${WRKSRC}/expect
 .endif
 
 .include "../../lang/tcl/buildlink3.mk"



Home | Main Index | Thread Index | Old Index