aboutsummaryrefslogtreecommitdiff
path: root/lang/tcl86
diff options
context:
space:
mode:
authorPietro Cerutti <gahr@FreeBSD.org>2016-04-17 10:04:09 +0000
committerPietro Cerutti <gahr@FreeBSD.org>2016-04-17 10:04:09 +0000
commit1bb4aa2e947f9954d70bf62293592e5c07eebe6e (patch)
tree52f777b2603b19c36076a4bc3e93e4db053b194d /lang/tcl86
parent4d8fd85a35ffd6fae50f57d5da4c6535709303bd (diff)
downloadports-1bb4aa2e947f9954d70bf62293592e5c07eebe6e.tar.gz
ports-1bb4aa2e947f9954d70bf62293592e5c07eebe6e.zip
lang/tcl86: add TEST_TARGET, DEBUG option, fix spacing in pkg-plist
Notes
Notes: svn path=/head/; revision=413497
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