pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl58 Make sure that STATIC_PERL is set to no on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6c552b40b109
branches:  trunk
changeset: 482433:6c552b40b109
user:      jklos <jklos%pkgsrc.org@localhost>
date:      Thu Oct 28 08:22:48 2004 +0000

description:
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:

 lang/perl58/Makefile |  7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 0214dad0e965 -r 6c552b40b109 lang/perl58/Makefile
--- a/lang/perl58/Makefile      Thu Oct 28 06:36:51 2004 +0000
+++ b/lang/perl58/Makefile      Thu Oct 28 08:22:48 2004 +0000
@@ -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 @@
 BUILDING_PERL5=                yes
 PERL5_CONFIGURE=       no
 
+CFLAGS+=               -O
+
 USE_BUILDLINK3=                yes
 HAS_CONFIGURE=         yes
 CONFIGURE_SCRIPT=      ./Configure
@@ -60,6 +62,7 @@
 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 @@
 # 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



Home | Main Index | Thread Index | Old Index