pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/mono Check if MONO_USE_NPTL is defined before usi...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/95a56b01dd37
branches:  trunk
changeset: 469710:95a56b01dd37
user:      minskim <minskim%pkgsrc.org@localhost>
date:      Fri Feb 27 04:06:05 2004 +0000

description:
Check if MONO_USE_NPTL is defined before using it.

diffstat:

 lang/mono/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r ff58a40950c8 -r 95a56b01dd37 lang/mono/Makefile
--- a/lang/mono/Makefile        Fri Feb 27 03:29:46 2004 +0000
+++ b/lang/mono/Makefile        Fri Feb 27 04:06:05 2004 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index