aboutsummaryrefslogtreecommitdiffstats
path: root/lang/tcl86
diff options
context:
space:
mode:
authorgahr <gahr@FreeBSD.org>2016-04-17 18:04:09 +0800
committergahr <gahr@FreeBSD.org>2016-04-17 18:04:09 +0800
commitd487c16b71d66f822d32826968eacace78bb5073 (patch)
tree52f777b2603b19c36076a4bc3e93e4db053b194d /lang/tcl86
parent1e82fcf501a9d2fa8c61306e7195ac237288d1b2 (diff)
downloadfreebsd-ports-gnome-d487c16b71d66f822d32826968eacace78bb5073.tar.gz
freebsd-ports-gnome-d487c16b71d66f822d32826968eacace78bb5073.tar.zst
freebsd-ports-gnome-d487c16b71d66f822d32826968eacace78bb5073.zip
lang/tcl86: add TEST_TARGET, DEBUG option, fix spacing in pkg-plist
Diffstat (limited to 'lang/tcl86')
-rw-r--r--lang/tcl86/Makefile9
-rw-r--r--lang/tcl86/pkg-plist4
2 files changed, 6 insertions, 7 deletions
diff --git a/lang/tcl86/Makefile b/lang/tcl86/Makefile
index 3036b5124624..2dc7ae6f0a9e 100644
--- a/lang/tcl86/Makefile
+++ b/lang/tcl86/Makefile
@@ -18,7 +18,7 @@ LICENSE_NAME= Tcl/Tk License
LICENSE_FILE= ${WRKSRC}/../license.terms
LICENSE_PERMS= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept
-OPTIONS_DEFINE= TCLMAN TZDATA MODULES THREADS
+OPTIONS_DEFINE= TCLMAN TZDATA MODULES THREADS DEBUG
OPTIONS_DEFAULT=MODULES THREADS
TCLMAN_DESC= Install Tcl function manpages
TZDATA_DESC= Install Tcl timezone data
@@ -30,12 +30,13 @@ WRKSRC= ${WRKDIR}/${PORTNAME}${PORTVERSION}/unix
ALL_TARGET= all
INSTALL_TARGET= install-strip install-libraries
+TEST_TARGET= test-tcl
USE_LDCONFIG= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --enable-shared \
--enable-man-suffix=.${MAN_SUFFIX} \
- --includedir=${PREFIX}/include/tcl${TCL_VER} \
+ --includedir=${PREFIX}/include/tcl${TCL_VER}
CONFIGURE_ENV= PORTSDIR=${PORTSDIR}
TCL_VER= ${PORTVERSION:R}
@@ -53,6 +54,7 @@ TCLMAN_INSTALL_TARGET= install-doc
TZDATA_INSTALL_TARGET= install-tzdata
MODULES_INSTALL_TARGET= install-modules
THREADS_CONFIGURE_ENABLE= threads
+DEBUG_CONFIGURE_ENABLE= symbols
post-patch:
${REINPLACE_CMD} -e \
@@ -71,7 +73,4 @@ post-configure:
-e 's,-DNO_MEMMOVE=1,,' -e 's,-DNO_STRING_H=1,,' \
-e 's,^COMPAT_OBJS.*,,' ${WRKSRC}/Makefile
-do-test:
- cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${MAKE} test-tcl
-
.include <bsd.port.mk>
diff --git a/lang/tcl86/pkg-plist b/lang/tcl86/pkg-plist
index caf7db8b6a7d..3514c127c078 100644
--- a/lang/tcl86/pkg-plist
+++ b/lang/tcl86/pkg-plist
@@ -876,8 +876,8 @@ lib/tcl%%TCL_VER%%/word.tcl
%%TCLMAN%%man/man3/Tcl_UtfCharComplete.tcl86.3.gz
%%TCLMAN%%man/man3/Tcl_UtfFindFirst.tcl86.3.gz
%%TCLMAN%%man/man3/Tcl_UtfFindLast.tcl86.3.gz
-%%TCLMAN%%man/man3/Tcl_UtfNcasecmp.tcl86.3.gz
-%%TCLMAN%%man/man3/Tcl_UtfNcmp.tcl86.3.gz
+%%TCLMAN%%man/man3/Tcl_UtfNcasecmp.tcl86.3.gz
+%%TCLMAN%%man/man3/Tcl_UtfNcmp.tcl86.3.gz
%%TCLMAN%%man/man3/Tcl_UtfNext.tcl86.3.gz
%%TCLMAN%%man/man3/Tcl_UtfPrev.tcl86.3.gz
%%TCLMAN%%man/man3/Tcl_UtfToExternal.tcl86.3.gz