git: 45e72f3706b2 - main - lang/tcl87: use libtommath from ports

Pietro Cerutti gahr at FreeBSD.org
Wed Jun 16 13:47:33 UTC 2021


The branch main has been updated by gahr:

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

commit 45e72f3706b29836a37af8356a1851e2f5bf0be9
Author:     Pietro Cerutti <gahr at FreeBSD.org>
AuthorDate: 2021-06-16 13:46:15 +0000
Commit:     Pietro Cerutti <gahr at FreeBSD.org>
CommitDate: 2021-06-16 13:47:30 +0000

    lang/tcl87: use libtommath from ports
    
    PR:             256626
    Reported by:    m.ne at gmx.net
---
 lang/tcl87/Makefile | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/lang/tcl87/Makefile b/lang/tcl87/Makefile
index 4d9ce8770456..e4a135095557 100644
--- a/lang/tcl87/Makefile
+++ b/lang/tcl87/Makefile
@@ -2,7 +2,7 @@
 
 PORTNAME=	tcl
 DISTVERSION=	${TCL_VERSION}${TCL_RC}
-PORTREVISION=	0
+PORTREVISION=	1
 CATEGORIES=	lang
 MASTER_SITES=	SF/tcl/Tcl/${TCL_VERSION} \
 		TCLTK/tcl8_7
@@ -17,7 +17,9 @@ LICENSE_NAME=	Tcl/Tk License
 LICENSE_FILE=	${WRKSRC}/../license.terms
 LICENSE_PERMS=	dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
 
-USES=		compiler:c11 pathfix
+USES=		compiler:c11 localbase pathfix
+
+LIB_DEPENDS=	libtommath.so:math/libtommath
 
 OPTIONS_DEFINE=	TCLMAN TZDATA DEBUG
 OPTIONS_DEFAULT=TCLMAN TZDATA
@@ -52,7 +54,8 @@ GNU_CONFIGURE=	yes
 CONFIGURE_ARGS=	--enable-shared \
 		--enable-man-suffix=.${MAN_SUFFIX} \
 		--includedir=${PREFIX}/include/tcl${TCL_VER} \
-		--enable-symbols
+		--enable-symbols \
+		--with-system-libtommath
 
 TCL_VERSION=	8.7a5
 TCL_VER=	8.7


More information about the dev-commits-ports-main mailing list