summaryrefslogtreecommitdiff
path: root/lang/mono
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-02-27 04:06:05 +0000
committerminskim <minskim@pkgsrc.org>2004-02-27 04:06:05 +0000
commite1bd7580ef17f115f61350b12befcc24246297c2 (patch)
tree0cfce3017ab5a252b35b6d5ac444df7a8e6e9bf4 /lang/mono
parentb5bd0841053f695f61cc81bd63550693f0fb6d15 (diff)
downloadpkgsrc-e1bd7580ef17f115f61350b12befcc24246297c2.tar.gz
Check if MONO_USE_NPTL is defined before using it.
Diffstat (limited to 'lang/mono')
-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