summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/perl5-current/Makefile15
1 files changed, 14 insertions, 1 deletions
diff --git a/lang/perl5-current/Makefile b/lang/perl5-current/Makefile
index 5993f1a7ea8..d774397feff 100644
--- a/lang/perl5-current/Makefile
+++ b/lang/perl5-current/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9.2.3 2002/06/29 04:57:04 jlam Exp $
+# $NetBSD: Makefile,v 1.9.2.4 2002/06/29 18:25:47 jlam Exp $
.include "Makefile.common"
@@ -32,6 +32,19 @@ CONFIGURE_ARGS+= -Uinstallusrbinperl
MKPIC?= yes
+.if ${OPSYS} == "Darwin"
+#
+# The perl build attempts to work around case-insensitivity problems on
+# HFS filesystems by using GNUmakefiles, so we need to use GNU make.
+#
+USE_GMAKE= # defined
+#
+# There seems to be a bug when using the buildlink2 wrapper scripts to
+# build perl on Darwin. Disable it for now until the problem is fixed.
+#
+. undef USE_BUILDLINK2
+.endif
+
# Nail down the needed libraries for each platform here to avoid hidden
# dependencies. If this isn't defined, then use the perl defaults for the
# particular operating system.