aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2021-06-16 13:46:15 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2021-06-16 13:47:30 +0000
commit45e72f3706b29836a37af8356a1851e2f5bf0be9 (patch)
treedeb257aaad2d9177d960f32c636b00fa8d035eba
parent8c266dcf8d4b5df4a641f2606e832ebe2f038367 (diff)
downloadports-45e72f3706b29836a37af8356a1851e2f5bf0be9.tar.gz
ports-45e72f3706b29836a37af8356a1851e2f5bf0be9.zip
lang/tcl87: use libtommath from ports
PR: 256626 Reported by: m.ne@gmx.net
-rw-r--r--lang/tcl87/Makefile9
1 files 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