summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2004-03-26 18:39:07 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2004-03-26 18:39:07 +0000
commitbaa1b264949415023f060a734b79e72e07cf1745 (patch)
treec85d871c451a98a16f826d776847bf2dbfccae64 /lang
parent. Fix the build on 5.x. (diff)
- make PKGNAMESUFFIX more flexible
Notes
Notes: svn path=/head/; revision=105364
Diffstat (limited to 'lang')
-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