summaryrefslogtreecommitdiff
path: root/lang
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
commitfb86f7dc651e60b31aeec7bdffee34c63d909ef5 (patch)
treeae9ff4f3f85b3c680ee752942cb15a96e83dff2b /lang
parentf434cbce2548ff84f482cbb72cc221273ceaa0c9 (diff)
downloadpkgsrc-fb86f7dc651e60b31aeec7bdffee34c63d909ef5.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')
-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