summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2002-06-29 18:25:47 +0000
committerjlam <jlam@pkgsrc.org>2002-06-29 18:25:47 +0000
commita32bcd8c6a1e302f11128c3ad6847bc8a4c245ee (patch)
tree92042dcd8ce25e48b32655432e9c99815973c4d0
parente4b2d477d2e4fc50564b2340e66964a585ea4b0c (diff)
downloadpkgsrc-a32bcd8c6a1e302f11128c3ad6847bc8a4c245ee.tar.gz
The perl build attempts to work around case-insensitivity problems on
HFS filesystems by using GNUmakefiles, so we need to use GNU make. Also, there seems to be a bug when using the buildlink2 wrapper scripts to build perl on Darwin, so we disable using buildlink2 for now until the problem is fixed.
-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.