git: 4e077af95c03 - main - lang/tcl9: fix plist w/o DTRACE, fix tests, bump PORTREVISION
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Thu, 28 Mar 2024 08:55:10 UTC
The branch main has been updated by gahr:
URL: https://cgit.FreeBSD.org/ports/commit/?id=4e077af95c03a896b4385c9a6e52b342ef95367f
commit 4e077af95c03a896b4385c9a6e52b342ef95367f
Author: Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2024-03-28 08:53:17 +0000
Commit: Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2024-03-28 08:55:08 +0000
lang/tcl9: fix plist w/o DTRACE, fix tests, bump PORTREVISION
---
lang/tcl9/Makefile | 4 +++-
lang/tcl9/pkg-plist | 2 +-
2 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/lang/tcl9/Makefile b/lang/tcl9/Makefile
index 1ccd18a6e7a1..36a9d3bd16e4 100644
--- a/lang/tcl9/Makefile
+++ b/lang/tcl9/Makefile
@@ -1,6 +1,6 @@
PORTNAME= tcl
DISTVERSION= ${TCL_VERSION}${TCL_RC}
-PORTREVISION= 0
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= SF/tcl/Tcl/${TCL_VERSION} \
TCLTK/tcl8_7
@@ -89,10 +89,12 @@ PLIST_SUB+= DTRACE="@comment "
post-patch:
${REINPLACE_CMD} \
-e 's|libtclstub.a|libtclstub${TCL_VER}.a|' \
+ -e 's|-ltclstub|-ltclstub${TCL_VER}|' \
${WRKSRC}/configure
${REINPLACE_CMD} \
-e '/^INSTALL_PACKAGE_TARGETS/d' \
-e '/^CONFIG_INSTALL_DIR/s|= .*$$|= $${SCRIPT_INSTALL_DIR}|' \
+ -e 's|$$(LIB_INSTALL_DIR)/pkgconfig|${STAGEDIR}$(PREFIX)/libdata/pkgconfig|g' \
-e 's|pkgconfig/tcl.pc|pkgconfig/tcl${SHORT_TCL_VER}.pc|' \
${WRKSRC}/Makefile.in
${REINPLACE_CMD} \
diff --git a/lang/tcl9/pkg-plist b/lang/tcl9/pkg-plist
index e3814c347126..93321e48e0de 100644
--- a/lang/tcl9/pkg-plist
+++ b/lang/tcl9/pkg-plist
@@ -240,7 +240,7 @@ lib/tcl%%TCL_VER%%/readfile.tcl
lib/tcl%%TCL_VER%%/safe.tcl
lib/tcl%%TCL_VER%%/tclAppInit.c
lib/tcl%%TCL_VER%%/tclConfig.sh
-lib/tcl%%TCL_VER%%/tclDTrace.d
+%%DTRACE%%lib/tcl%%TCL_VER%%/tclDTrace.d
lib/tcl%%TCL_VER%%/tclIndex
lib/tcl%%TCL_VER%%/tclooConfig.sh
lib/tcl%%TCL_VER%%/tm.tcl