summaryrefslogtreecommitdiff
path: root/lang/perl58
diff options
context:
space:
mode:
authorjklos <jklos@pkgsrc.org>2004-10-28 08:22:48 +0000
committerjklos <jklos@pkgsrc.org>2004-10-28 08:22:48 +0000
commitac07533a5763fe731de1ed3839c98fc0583c21e1 (patch)
treeae9ff4f3f85b3c680ee752942cb15a96e83dff2b /lang/perl58
parent533f02971b4c80ea0e70d558009b749b807b1a0a (diff)
downloadpkgsrc-ac07533a5763fe731de1ed3839c98fc0583c21e1.tar.gz
Make sure that STATIC_PERL is set to no on PowerPC platforms so that
it compiles properly on 2.0 and current systems. PowerPC processors have lots of registers, so this isn't even a loss at all.
Diffstat (limited to 'lang/perl58')
-rw-r--r--lang/perl58/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/perl58/Makefile b/lang/perl58/Makefile
index 921f7878a14..4578c747d32 100644
--- a/lang/perl58/Makefile
+++ b/lang/perl58/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2004/10/01 20:52:26 jlam Exp $
+# $NetBSD: Makefile,v 1.51 2004/10/28 08:22:48 jklos Exp $
# The following two variables should have empty values unless we're
# building a perl snapshot or release candidate.
@@ -46,6 +46,8 @@ PKG_INSTALLATION_TYPES= overwrite pkgviews
BUILDING_PERL5= yes
PERL5_CONFIGURE= no
+CFLAGS+= -O
+
USE_BUILDLINK3= yes
HAS_CONFIGURE= yes
CONFIGURE_SCRIPT= ./Configure
@@ -60,6 +62,7 @@ CONFIGURE_ARGS+= -Uusemymalloc
CONFIGURE_ARGS+= -Uinstallusrbinperl
TEST_TARGET= test
+
# Install Perl man3 pages into a private directory under the the normal
# Perl installation. Also install site-specific Perl man3 pages into a
# private directory within site_perl. This avoids manpage conflicts
@@ -276,7 +279,7 @@ pre-configure:
# the list below to bypass the build of the statically-linked perl.
#
.if ${MKPIC} == "yes"
-. for _arch_ in mipsel mipseb
+. for _arch_ in mipsel mipseb powerpc
. if !empty(MACHINE_ARCH:M${_arch_})
STATIC_PERL?= no
. endif