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/6a17a86ad0ee
branches:  trunk
changeset: 312581:6a17a86ad0ee
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 72189479057d -r 6a17a86ad0ee 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