Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Apr 2024 12:26:53 GMT
From:      Pietro Cerutti <gahr@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: c562c2e90870 - main - lang/tcl9: fix linking with LLVM binutils
Message-ID:  <202404051226.435CQrbw088805@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by gahr:

URL: https://cgit.FreeBSD.org/ports/commit/?id=c562c2e908700878ad60414f307611721d7c80bd

commit c562c2e908700878ad60414f307611721d7c80bd
Author:     Pietro Cerutti <gahr@FreeBSD.org>
AuthorDate: 2024-04-05 12:23:29 +0000
Commit:     Pietro Cerutti <gahr@FreeBSD.org>
CommitDate: 2024-04-05 12:26:51 +0000

    lang/tcl9: fix linking with LLVM binutils
    
    PR:             278173
    Reported by:    emaste
---
 lang/tcl9/Makefile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

diff --git a/lang/tcl9/Makefile b/lang/tcl9/Makefile
index 36a9d3bd16e4..3029da451876 100644
--- a/lang/tcl9/Makefile
+++ b/lang/tcl9/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	tcl
 DISTVERSION=	${TCL_VERSION}${TCL_RC}
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	lang
 MASTER_SITES=	SF/tcl/Tcl/${TCL_VERSION} \
 		TCLTK/tcl8_7
@@ -94,8 +94,9 @@ post-patch:
 	${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|$$(LIB_INSTALL_DIR)/pkgconfig|${STAGEDIR}${PREFIX}/libdata/pkgconfig|g' \
 		-e 's|pkgconfig/tcl.pc|pkgconfig/tcl${SHORT_TCL_VER}.pc|' \
+		-e 's|strip -x|strip --strip-unneeded|' \
 		${WRKSRC}/Makefile.in
 	${REINPLACE_CMD} \
 		-e '/Target=/s|.$$Section$$Suffix|$$Suffix.$$Section|' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202404051226.435CQrbw088805>