pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/perl5 perl5: remove workarounds for very old vers...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b6a5db433462
branches:  trunk
changeset: 325523:b6a5db433462
user:      maya <maya%pkgsrc.org@localhost>
date:      Tue Nov 20 09:07:06 2018 +0000

description:
perl5: remove workarounds for very old versions of netbsd+GCC

diffstat:

 lang/perl5/hacks.mk |  34 +---------------------------------
 1 files changed, 1 insertions(+), 33 deletions(-)

diffs (47 lines):

diff -r f4cadaaeecd1 -r b6a5db433462 lang/perl5/hacks.mk
--- a/lang/perl5/hacks.mk       Tue Nov 20 08:59:29 2018 +0000
+++ b/lang/perl5/hacks.mk       Tue Nov 20 09:07:06 2018 +0000
@@ -1,42 +1,10 @@
-# $NetBSD: hacks.mk,v 1.19 2016/10/28 15:55:50 dholland Exp $
+# $NetBSD: hacks.mk,v 1.20 2018/11/20 09:07:06 maya Exp $
 
 .if !defined(PERL5_HACKS_MK)
 PERL5_HACKS_MK=        defined
 
 .include "../../mk/compiler.mk"
 
-### [Thu Jun 7 04:25:34 UTC 2001 : jlam]
-### Fix brokenness when using an older toolchain (gcc<3.3) on
-### NetBSD/sparc64.  Pass -g and -DDEBUGGING to the compiler to
-### circumvent some code-generation bugs.
-###
-.if !empty(MACHINE_PLATFORM:MNetBSD-*-sparc64)
-.  if !empty(CC_VERSION:Mgcc*)
-.    if !defined(_GCC_IS_TOO_OLD)
-_GCC_IS_TOO_OLD!=      \
-       if ${PKG_ADMIN} pmatch 'gcc<3.3' ${CC_VERSION}; then            \
-               ${ECHO} "yes";                                          \
-       else                                                            \
-               ${ECHO} "no";                                           \
-       fi
-MAKEFLAGS+=    _GCC_IS_TOO_OLD=${_GCC_IS_TOO_OLD:Q}
-.    endif
-.    if !empty(_GCC_IS_TOO_OLD:M[yY][eE][sS])
-PKG_HACKS+=    sparc64-codegen
-CFLAGS+=       -DDEBUGGING -g -msoft-quad-float -O2
-.    endif
-.  endif
-.endif
-
-### [Mon May 9 15:35:44 UTC 2005 : jlam]
-### On NetBSD/arm, skipping one part of the optimization pass empirically
-### "fixes" the build of perl using gcc-3.x.
-###
-.if !empty(CC_VERSION:Mgcc-3.*) && !empty(MACHINE_ARCH:Marm*)
-PKG_HACKS+=    arm-codegen
-CFLAGS+=       -fno-cse-skip-blocks
-.endif
-
 ### [ Fri Oct 11 10:00:00 UTC 2011 : hauke ]
 ###
 ### On m68k, gcc creates short assembler branch insns, and expects



Home | Main Index | Thread Index | Old Index