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
commitd77da974849d431eefa5756c3afd28389a5b3078 (patch)
tree0cfce3017ab5a252b35b6d5ac444df7a8e6e9bf4 /lang
parent1069d942b9ad9f7da74cf3ea29fe8b73e0aaa3fb (diff)
downloadpkgsrc-d77da974849d431eefa5756c3afd28389a5b3078.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