summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorminskim <minskim>2004-02-27 04:06:05 +0000
committerminskim <minskim>2004-02-27 04:06:05 +0000
commitec64eaef07c52bff9e1dca581563b2545607bf87 (patch)
tree0cfce3017ab5a252b35b6d5ac444df7a8e6e9bf4 /lang
parent140afae60ee66fcc8577905094522616c46e68a9 (diff)
downloadpkgsrc-ec64eaef07c52bff9e1dca581563b2545607bf87.tar.gz
Check if MONO_USE_NPTL is defined before using it.
Diffstat (limited to 'lang')
-rw-r--r--lang/mono/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/mono/Makefile b/lang/mono/Makefile
index c7e3c90904f..181b7b9e8d2 100644
--- a/lang/mono/Makefile
+++ b/lang/mono/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2004/02/14 20:39:38 recht Exp $
+# $NetBSD: Makefile,v 1.19 2004/02/27 04:06:05 minskim Exp $
#
DISTNAME= mono-0.30.1
@@ -49,7 +49,7 @@ CONF_FILES+= ${EGDIR}/DefaultWsdlHelpGenerator.aspx \
.if ${OPSYS} == "Linux"
BUILD_DEFS+= MONO_USE_NPTL
-. if !empty(MONO_USE_NPTL:M[yY][eE][sS])
+. if defined(MONO_USE_NPTL) && !empty(MONO_USE_NPTL:M[yY][eE][sS])
# Enable support for NPTL
CONFIGURE_ARGS+= --with-nptl
. endif