aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lang/tcl84/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/tcl84/Makefile b/lang/tcl84/Makefile
index 70349c776d0f..e4449d77ddce 100644
--- a/lang/tcl84/Makefile
+++ b/lang/tcl84/Makefile
@@ -11,6 +11,7 @@ PORTEPOCH= 1
CATEGORIES= lang tcl84
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= tcl
+PKGNAMESUFFIX?= ${THREADS_SUFFIX}${PKGNAMESUFFIX2}
DISTNAME= ${PORTNAME}${PORTVERSION}-src
MAINTAINER= ports@FreeBSD.org
@@ -32,8 +33,8 @@ USE_REINPLACE= YES
PLIST_SUB= TCL_VER=${TCL_VER} SHORT_TCL_VER=84
.if defined(TCL_WITH_THREADS) || defined(WITH_THREADS)
+THREADS_SUFFIX= -threads
CONFIGURE_ARGS+= --enable-threads
-PKGNAMESUFFIX?= -threads
.endif
MAN1= tclsh.1