summaryrefslogtreecommitdiff
path: root/lang/python27
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2004-06-28 06:24:11 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2004-06-28 06:24:11 +0000
commitc4a8480ea906bf2385704871e4cd4a4420074b86 (patch)
treeb521a87c187d4f2224bf4a193b856e5a1d3c94cb /lang/python27
parentFix comment. (diff)
Test lack of non-default options for CONFIG-unaware environments
as done in lang/python either. Submitted by: fjoe
Diffstat (limited to 'lang/python27')
-rw-r--r--lang/python27/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/lang/python27/Makefile b/lang/python27/Makefile
index 9123c5f9471f..68a24f15b852 100644
--- a/lang/python27/Makefile
+++ b/lang/python27/Makefile
@@ -43,7 +43,7 @@ OPTIONS= THREADS "Enable thread support" on \
.include <bsd.port.pre.mk>
-.if defined(WITH_THREADS)
+.if !defined(WITHOUT_THREADS)
CONFIGURE_ARGS+= --with-threads
CFLAGS+= ${PTHREAD_CFLAGS}
.if defined(WITHOUT_HUGE_STACK_SIZE)
@@ -57,9 +57,9 @@ CONFIGURE_ARGS+= --without-threads
.if defined(LDFLAGS)
CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}"
.endif # defined(LDFLAGS)
-.endif # defined(WITH_THREADS)
+.endif # !defined(WITHOUT_THREADS)
-.if defined(WITHOUT_UCS2)
+.if !defined(WITHOUT_UCS4) && !defined(WITH_UCS2)
CONFIGURE_ARGS+= --enable-unicode=ucs4
.endif