Import of pkgsrc-2015Q1

This commit is contained in:
2016-01-21 23:40:00 +01:00
committed by sambuc
parent 9a8c06dafb
commit 4af1cdf7a9
25114 changed files with 870539 additions and 795424 deletions
+75 -77
View File
@@ -1,9 +1,8 @@
# $NetBSD: Makefile,v 1.219 2014/03/14 22:41:10 ryoon Exp $
# $NetBSD: Makefile,v 1.233 2014/11/22 03:04:31 wiz Exp $
.include "license.mk"
.include "Makefile.common"
PKGREVISION= 1
COMMENT= Practical Extraction and Report Language
CONFLICTS+= perl-base-[0-9]* perl-thread-[0-9]*
@@ -11,91 +10,85 @@ CONFLICTS+= perl-base-[0-9]* perl-thread-[0-9]*
# CONFLICTS packages older than CORE modules version.
# based on 'corelist -v ${PKGVERSION}'
# update based on 'corelist -diff ${PREV_PKGVERSION} ${PKGVERSION}'
CONFLICTS+= p5-Archive-Tar<1.90
CONFLICTS+= p5-Attribute-Handlers<0.94
CONFLICTS+= p5-AutoLoader<5.73
CONFLICTS+= p5-CGI<3.63
CONFLICTS+= p5-CPAN<2.0000 # 2.00
CONFLICTS+= p5-CPAN-Meta<2.120921
# older for devel/p5-Module-CPANTS-Analyse
CONFLICTS+= p5-CPAN-Meta-Requirements<2.122
CONFLICTS+= p5-CPAN-Meta-YAML<0.008
CONFLICTS+= p5-CPANPLUS<0.9135
CONFLICTS+= p5-Compress-Raw-Bzip2<2.060
CONFLICTS+= p5-Compress-Raw-Zlib<2.060
CONFLICTS+= p5-DB_File<1.827
CONFLICTS+= p5-Devel-PPPort<3.20
CONFLICTS+= p5-Archive-Tar<1.96
CONFLICTS+= p5-Attribute-Handlers<0.96
CONFLICTS+= p5-AutoLoader<5.74
CONFLICTS+= p5-CGI<3.65
# older for www/p5-CGI-Fast
CONFLICTS+= p5-CPAN<2.0500 # 2.05
CONFLICTS+= p5-CPAN-Meta<2.140640
CONFLICTS+= p5-CPAN-Meta-Requirements<2.125
CONFLICTS+= p5-CPAN-Meta-YAML<0.012
CONFLICTS+= p5-Compress-Raw-Bzip2<2.064
CONFLICTS+= p5-Compress-Raw-Zlib<2.064
CONFLICTS+= p5-DB_File<1.831
CONFLICTS+= p5-Devel-PPPort<3.21
CONFLICTS+= p5-Digest<1.17
CONFLICTS+= p5-Digest-MD5<2.52
CONFLICTS+= p5-Digest-SHA<5.84.01 # 5.84_01
CONFLICTS+= p5-Encode<2.49
CONFLICTS+= p5-ExtUtils-CBuilder<0.28.02.10 # 0.280210
CONFLICTS+= p5-ExtUtils-Command<1.17
CONFLICTS+= p5-ExtUtils-Embed<1.30
CONFLICTS+= p5-ExtUtils-Install<1.59
CONFLICTS+= p5-ExtUtils-MakeMaker<6.66
CONFLICTS+= p5-Digest-MD5<2.53
CONFLICTS+= p5-Digest-SHA<5.88
CONFLICTS+= p5-Encode<2.60
CONFLICTS+= p5-ExtUtils-CBuilder<0.28.02.16 # 0.280216
CONFLICTS+= p5-ExtUtils-Command<1.18
CONFLICTS+= p5-ExtUtils-Embed<1.32
CONFLICTS+= p5-ExtUtils-Install<1.67
CONFLICTS+= p5-ExtUtils-MakeMaker<6.98
CONFLICTS+= p5-ExtUtils-Manifest<1.63
CONFLICTS+= p5-ExtUtils-ParseXS<3.18
CONFLICTS+= p5-ExtUtils-ParseXS<3.24
CONFLICTS+= p5-File-Path<2.09
CONFLICTS+= p5-File-Temp<0.23
# older for devel/p5-Tree-DAG_Node
CONFLICTS+= p5-Getopt-Long<2.39
CONFLICTS+= p5-HTTP-Tiny<0.025
CONFLICTS+= p5-I18N-LangTags<0.39
CONFLICTS+= p5-IO<1.2800 # 1.28
CONFLICTS+= p5-IO-Compress<2.060 # IO::Compress::*, Compress::*
CONFLICTS+= p5-File-Temp<0.23.04 # 0.2304
CONFLICTS+= p5-Getopt-Long<2.42
CONFLICTS+= p5-HTTP-Tiny<0.043
CONFLICTS+= p5-I18N-LangTags<0.40
CONFLICTS+= p5-IO<1.3100 # 1.31
CONFLICTS+= p5-IO-Compress<2.064 # IO::Compress::*, Compress::*
CONFLICTS+= p5-IO-Zlib<1.10
CONFLICTS+= p5-IPC-Cmd<0.80
CONFLICTS+= p5-IPC-SysV<2.03
CONFLICTS+= p5-JSON-PP<2.27202
# older for devel/p5-ExtUtils-MakeMaker
CONFLICTS+= p5-Locale-Codes<3.25
CONFLICTS+= p5-Locale-Maketext<1.23
CONFLICTS+= p5-IPC-Cmd<0.92
CONFLICTS+= p5-IPC-SysV<2.04
CONFLICTS+= p5-JSON-PP<2.27203
CONFLICTS+= p5-Locale-Codes<3.30
CONFLICTS+= p5-Locale-Maketext<1.25
CONFLICTS+= p5-Locale-Maketext-Simple<0.21
CONFLICTS+= p5-MIME-Base64<3.13
CONFLICTS+= p5-MIME-Base64<3.14
CONFLICTS+= p5-Math-Complex<1.59
CONFLICTS+= p5-Memoize<1.03
CONFLICTS+= p5-Module-Build<0.40030 # 0.4003
# older for devel/p5-Test-File-SharDir
CONFLICTS+= p5-Module-CoreList<2.96
CONFLICTS+= p5-Module-Load<0.24
CONFLICTS+= p5-Module-Pluggable<4.7
# older for devel/p5-Alien-Packages
# older for devel/p5-MooX-Roles-Pluggable
CONFLICTS+= p5-Module-Build<0.42050 # 0.4205
CONFLICTS+= p5-Module-CoreList<3.10
CONFLICTS+= p5-Module-Load<0.32
CONFLICTS+= p5-NEXT<0.65
CONFLICTS+= p5-Package-Constants<0.02
CONFLICTS+= p5-Parse-CPAN-Meta<1.4404
# older for devel/p5-ExtUtils-MakeMaker
CONFLICTS+= p5-Pod-Escapes<1.04
CONFLICTS+= p5-Pod-Parser<1.60
CONFLICTS+= p5-Package-Constants<0.04
CONFLICTS+= p5-Parse-CPAN-Meta<1.4414
CONFLICTS+= p5-Pod-Escapes<1.06
CONFLICTS+= p5-Pod-Parser<1.62
CONFLICTS+= p5-Pod-Simple<3.28
CONFLICTS+= p5-Pod-Usage<1.61
CONFLICTS+= p5-Storable<2.41
CONFLICTS+= p5-Sys-Syslog<0.32
CONFLICTS+= p5-Pod-Usage<1.63
CONFLICTS+= p5-Storable<2.49
CONFLICTS+= p5-Sys-Syslog<0.33
CONFLICTS+= p5-Term-ANSIColor<4.02
CONFLICTS+= p5-Term-Cap<1.13
CONFLICTS+= p5-Term-ReadLine<1.12
CONFLICTS+= p5-Term-Cap<1.15
CONFLICTS+= p5-Term-ReadLine<1.14
# older for sysutils/shelldap
CONFLICTS+= p5-Test-Harness<3.26
CONFLICTS+= p5-Test-Simple<0.98
CONFLICTS+= p5-Text-Tabs+Wrap<2012.0818 # Text::Tabs + Text::Wrap
CONFLICTS+= p5-Tie-File<0.99
CONFLICTS+= p5-Test-Harness<3.30
CONFLICTS+= p5-Test-Simple<1.001002
CONFLICTS+= p5-Text-Tabs+Wrap<2013.0523 # Text::Tabs + Text::Wrap
CONFLICTS+= p5-Tie-File<1.00
CONFLICTS+= p5-Tie-RefHash<1.39
CONFLICTS+= p5-Time-HiRes<1.9725
CONFLICTS+= p5-Time-HiRes<1.9726
CONFLICTS+= p5-Time-Local<1.23.00 # 1.2300
CONFLICTS+= p5-Time-Piece<1.20.01 # 1.20_01
CONFLICTS+= p5-Unicode-Collate<0.97
CONFLICTS+= p5-Unicode-Normalize<1.16
CONFLICTS+= p5-Time-Piece<1.27
CONFLICTS+= p5-Unicode-Collate<1.04
CONFLICTS+= p5-Unicode-Normalize<1.17
CONFLICTS+= p5-XSLoader<0.16
CONFLICTS+= p5-autodie<2.13
CONFLICTS+= p5-constant<1.27
CONFLICTS+= p5-parent<0.225
CONFLICTS+= p5-version<0.9902
CONFLICTS+= p5-autodie<2.23
CONFLICTS+= p5-constant<1.31
CONFLICTS+= p5-experimental<0.007
CONFLICTS+= p5-parent<0.228
CONFLICTS+= p5-version<0.9908
SUPERSEDES+= p5-Tie-File<=0.99
SUPERSEDES+= p5-Memoize<=1.03
SUPERSEDES+= p5-I18N-LangTags<=0.39
SUPERSEDES+= p5-Locale-Maketext<=1.23
SUPERSEDES+= p5-experimental<=0.007
# XXX: requires that gcc use an external perl to avoid circular dependencies
USE_GCC_RUNTIME= yes
@@ -126,6 +119,11 @@ CONFIGURE_SCRIPT= ./Configure
CONFIGURE_ARGS+= -sde
MAKE_ENV+= LC_ALL="C"
.if ${OPSYS} == "SunOS"
USE_TOOLS+= bash
CONFIG_SHELL= ${TOOLS_PATH.bash}
.endif
TEST_TARGET= test
# Policy.sh generation
@@ -200,6 +198,7 @@ LIBSWANTED.Darwin= m c
LIBSWANTED.DragonFly= m crypt
LIBSWANTED.FreeBSD= m crypt
LIBSWANTED.GNUkFreeBSD= m crypt dl nsl
LIBSWANTED.Haiku= network
LIBSWANTED.HPUX= cl pthread $$libswanted # see Perl's README.hpux
LIBSWANTED.IRIX= m crypt
LIBSWANTED.Interix= m dl
@@ -221,7 +220,6 @@ SYSLIBPATH.Cygwin= /usr/lib
SYSLIBPATH.Darwin= /usr/lib
SYSLIBPATH.DragonFly= /usr/lib
SYSLIBPATH.FreeBSD= /usr/lib
SYSLIBPATH.Haiku= /boot/common/lib
SYSLIBPATH.Interix= /usr/lib
SYSLIBPATH.MirBSD= /usr/lib
SYSLIBPATH.NetBSD= /usr/lib
@@ -229,7 +227,7 @@ SYSLIBPATH.OpenBSD= /usr/lib
SYSLIBPATH.SunOS= /usr/lib
SYSLIBPATH.AIX= /usr/lib
SYSLIBPATH.SCO_SV= /usr/lib
SYSLIBPATH= ${SYSLIBPATH.${OPSYS}}
SYSLIBPATH= ${SYSLIBPATH.${OPSYS}:U${COMPILER_LIB_DIRS}}
SUBST_VARS.policysh+= SYSLIBPATH
.include "../../mk/dlopen.buildlink3.mk"
@@ -246,13 +244,13 @@ SUBST_MESSAGE.mirbsd-paths= Do not use non-pkgsrc paths on MirBSD.
# Replace our perl as the interpreter
REPLACE_PERL+= cpan/Config-Perl-V/V.pm
REPLACE_PERL+= cpan/Getopt-Long/lib/Getopt/Long.pm
REPLACE_PERL+= cpan/version/lib/version.pm
REPLACE_PERL+= dist/bignum/lib/Math/BigFloat/Trace.pm
REPLACE_PERL+= dist/bignum/lib/Math/BigInt/Trace.pm
REPLACE_PERL+= dist/ExtUtils-ParseXS/lib/ExtUtils/xsubpp
REPLACE_PERL+= ext/ExtUtils-Miniperl/lib/ExtUtils/Miniperl.pm
REPLACE_PERL+= ext/File-DosGlob/lib/File/DosGlob.pm
REPLACE_PERL+= lib/File/DosGlob.pm
REPLACE_PERL+= lib/unicore/mktables
REPLACE_PERL+= lib/version.pm
# And replace a perl interpreter during the pre-install stage
# I think this may be a bootstrap script, so can't use REPLACE_PERL
@@ -284,11 +282,11 @@ SUBST_FILES.dirmode= installhtml install_lib.pl \
SUBST_SED.dirmode= -e "s/755/${PKGDIRMODE}/g;/umask(/d"
post-extract:
cp ${FILESDIR}/Policy.sh ${WRKSRC}/Policy.sh
cp ${FILESDIR}/cpan-DB_File-hints-netbsd.pl \
${WRKSRC}/cpan/DB_File/hints/netbsd.pl
cp ${FILESDIR}/cpan-DB_File-hints-openbsd.pl \
${WRKSRC}/cpan/DB_File/hints/openbsd.pl
cp ${FILESDIR}/Policy.sh ${WRKSRC}/Policy.sh
cp ${FILESDIR}/cpan-DB_File-hints-netbsd.pl \
${WRKSRC}/cpan/DB_File/hints/netbsd.pl
cp ${FILESDIR}/cpan-DB_File-hints-openbsd.pl \
${WRKSRC}/cpan/DB_File/hints/openbsd.pl
pre-configure:
cd ${WRKSRC} && find `pwd` -name "*.orig" -type f -exec ${RM} -f {} \;
+2 -2
View File
@@ -1,9 +1,9 @@
# $NetBSD: Makefile.common,v 1.20 2014/01/13 09:59:16 adam Exp $
# $NetBSD: Makefile.common,v 1.23 2015/02/25 14:56:45 wiz Exp $
#
# used by lang/perl5/Makefile
# used by databases/p5-gdbm/Makefile
DISTNAME= perl-5.18.2
DISTNAME= perl-5.20.2
CATEGORIES= lang devel perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:S,/modules/by-module/$,/src/5.0/,}
DISTFILES+= ${DISTNAME}${EXTRACT_SUFX}
+8 -6
View File
@@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.52 2013/05/31 10:55:15 adam Exp $
# $NetBSD: buildlink3.mk,v 1.55 2014/12/30 15:13:19 wiz Exp $
BUILDLINK_TREE+= perl
@@ -6,13 +6,13 @@ BUILDLINK_TREE+= perl
PERL_BUILDLINK3_MK:=
.include "../../mk/bsd.fast.prefs.mk"
PERL5_REQD+= 5.18.0
PERL5_REQD+= 5.20.0
.for _perl5_ver_ in ${PERL5_REQD}
BUILDLINK_API_DEPENDS.perl+= perl>=${_perl5_ver_}
.endfor
# Prevent p5-* etc. packages built for 5.18.0 to be used
# Prevent p5-* etc. packages built for 5.20.0 to be used
# with the next incompatible version of perl:
BUILDLINK_API_DEPENDS.perl+= perl<5.20.0
BUILDLINK_API_DEPENDS.perl+= perl<5.22.0
BUILDLINK_PKGSRCDIR.perl?= ../../lang/perl5
@@ -25,12 +25,15 @@ PERL5= ${PERLDIR}/bin/perl
pkgbase := perl
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.perl:Mthreads)
. include "../../mk/pthread.buildlink3.mk"
.endif
PERL5_OPTIONS?= # empty
.if !empty(PERL5_OPTIONS:Mthreads)
INSTALL_TEMPLATES+= ${.CURDIR}/../../lang/perl5/files/install_threads.tmpl
.endif
.if ${PKG_INSTALLATION_TYPE} == "overwrite"
#
# Perl keeps headers and odd libraries in an odd path not caught by the
# default BUILDLINK_FILES_CMD, so name them to be symlinked into
@@ -38,7 +41,6 @@ INSTALL_TEMPLATES+= ${.CURDIR}/../../lang/perl5/files/install_threads.tmpl
#
.include "../../lang/perl5/vars.mk"
BUILDLINK_FILES.perl= ${PERL5_SUB_INSTALLARCHLIB}/CORE/*
.endif
.endif # PERL_BUILDLINK3_MK
BUILDLINK_TREE+= -perl
+15 -15
View File
@@ -1,25 +1,25 @@
$NetBSD: distinfo,v 1.115 2014/03/14 22:41:10 ryoon Exp $
$NetBSD: distinfo,v 1.126 2015/02/25 14:56:45 wiz Exp $
SHA1 (perl-5.18.2.tar.bz2) = b8b87ef46630b5a2287b86b6e0c69088da36adfd
RMD160 (perl-5.18.2.tar.bz2) = 1b656ae4f53845aac11e62b71c2d84c156ebfbd0
Size (perl-5.18.2.tar.bz2) = 14058513 bytes
SHA1 (patch-Makefile.SH) = 4fceb8bc225ea784ecda3920e888f0ddb1aad997
SHA1 (patch-aa) = 9066746c6e6ed0d58962f52de1ae773e210cfcb5
SHA1 (patch-ab) = ddddf24cfa96c3b95202c2081006e0c7216afa1d
SHA1 (patch-ac) = cd918ae7aedddfcd3d555a1d1388c4c8719ccd12
SHA1 (patch-ah) = f66b496ba8f7b7d3e5a1f0c6f03d051a652f426e
SHA1 (perl-5.20.2.tar.bz2) = 63126c683b4c79c35008a47d56f7beae876c569f
RMD160 (perl-5.20.2.tar.bz2) = a24d4c70846ae4332d01d8d56696a55bf492f44b
Size (perl-5.20.2.tar.bz2) = 13717128 bytes
SHA1 (patch-Makefile.SH) = 92c623fe1ea024b05f47bcfee7002e02647d5062
SHA1 (patch-aa) = 441ad4f0d27d9be0fcdce31c9d35d35d98958518
SHA1 (patch-ab) = c899b7221a78e74cc9b1480834baba047dd19f38
SHA1 (patch-ac) = 4baa8f80695687abb53d4f4e1830cf86db5b2bf7
SHA1 (patch-ah) = c1cb4ddb6db49dcfe12bb1d47911668b2318b953
SHA1 (patch-aq) = 4bf5a76f0277b0939b2ca7720f4bb045a788b5cc
SHA1 (patch-ca) = 80f96af07df5e77d0e0cdbdaeb5cca852008395f
SHA1 (patch-ca) = d4a924b4e78d210d143f4e40f63082b6d42fc0e8
SHA1 (patch-ch) = 5b6a89c82e158bab0a5f06add48c28e600678099
SHA1 (patch-ck) = 5c381db130cdf4c315678e2d65380eaaa3065fee
SHA1 (patch-cn) = d1877383e213a414562b5bb4c1e8aa785926fab7
SHA1 (patch-cpan_Socket_Socket.xs) = 9390c42ad456b0ea114c2e57e4d829d630fb698e
SHA1 (patch-ext_Errno_Errno__pm.PL) = 4f135e267da17de38f8f1e7e03d5209bfd09a323
SHA1 (patch-hints_cygwin.sh) = 1b21d927d6b7379754c4cd64a2b05d3632c35470
SHA1 (patch-hints_darwin.sh) = c561d1862f8ca76652a35741c691394eb8cda70a
SHA1 (patch-hints_netbsd.sh) = 027722c47bb01aa8db21e534178432cd26b49cdf
SHA1 (patch-hints_darwin.sh) = 15596f109f317ffb14c695b4196bb37699d2f34b
SHA1 (patch-hints_netbsd.sh) = 0d549a48800372d75fe34b783529a78cba90f646
SHA1 (patch-hints_sco.sh) = 8d43cdc0632799e1cdb5dc6fdb968052a9ae4216
SHA1 (patch-hv.c) = 0ed39926d620724db6d612a717d84b4efa129162
SHA1 (patch-locale.c) = e34500b5d0e2f868a4c9e3b3e4ae84e2ddbf1b18
SHA1 (patch-install__lib.pl) = 31e9e0fc34386542dd6a60bf6ca0a607babbd4b6
SHA1 (patch-ta) = a9d13eeec22733e4087942f217a0d47a19498a6f
SHA1 (patch-zd) = 469602bc04b217f2d9929f5caeab43f77a74076f
SHA1 (patch-ze) = 211ed6065ecf2ca02f8e95283c2d67a64c2e6b41
SHA1 (patch-ze) = d6fb718a1417e37a7d6bee1ae89fe2beec51c81b
+6 -25
View File
@@ -1,4 +1,4 @@
# $NetBSD: hacks.mk,v 1.9 2014/01/31 17:38:48 schnoebe Exp $
# $NetBSD: hacks.mk,v 1.14 2014/12/15 11:46:35 jperkin Exp $
.if !defined(PERL5_HACKS_MK)
PERL5_HACKS_MK= defined
@@ -38,17 +38,6 @@ PKG_HACKS+= powerpc-codegen
BUILDLINK_TRANSFORM+= rm:-O[0-9]*
.endif
### [Sat Dec 18 17:29:44 EST 2004 : jlam]
### Native threading on VAX isn't ready for primetime in NetBSD>=2.0.
### Build Perl without threads-support until VAX native threads are
### known to work.
###
.if !empty(MACHINE_PLATFORM:MNetBSD-*-vax) && \
!empty(USE_BUILTIN.pthread:M[yY][eE][sS])
PKG_HACKS+= broken-vax-pthreads
PERL5_BUILD_THREADS_SUPPORT= no
.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.
@@ -72,25 +61,17 @@ CFLAGS+= -fno-cse-skip-blocks
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "m68k"
PKG_HACKS+= m68k-codegen
BUILDLINK_TRANSFORM+= rename:-O[0-9]*:-Os
.endif
### [Thr Mar 21 22:20:00 JST 2013 : obache]
### from KNOWN PROBLEMS in README.haiku
### Perl cannot be compiled with threading support ATM.
###
.if !empty(MACHINE_PLATFORM:MHaiku-*-*)
PKG_HACKS+= broken-haiku-pthreads
PERL5_BUILD_THREADS_SUPPORT= no
BUILDLINK_TRANSFORM+= opt:-O[0-9]*:-Os
.endif
### [Fri Jan 31 11:09:04 CST 2014 : schnoebe]
### gcc-4.*.* in NetBSD/alpha causes unaligned access exception in perl.
### -O works around, and there is a report that -O2 -fno-tree-ter is enough.
.if !empty(MACHINE_PLATFORM:MNetBSD-*-alpha) && !empty(CC_VERSION:Mgcc-4.*.*)
.if (!empty(MACHINE_PLATFORM:MNetBSD-*-alpha) || !empty(MACHINE_PLATFORM:MOpenBSD-*-alpha)) \
&& !empty(CC_VERSION:Mgcc-4.*.*)
# XXX: is there any good way to replace the default -O2 with multiple args?
PKG_HACKS+= alpha-optimisation
#BUILDLINK_TRANSFORM+= rename:-O[2-9]*:-O2 -fno-tree-ter
PKG_HACKS+= alpha-optimisation
#BUILDLINK_TRANSFORM+= opt:-O[2-9]*:-O2 -fno-tree-ter
CFLAGS+=-fno-tree-ter
.endif
+1 -3
View File
@@ -1,4 +1,4 @@
# $NetBSD: module.mk,v 1.70 2014/02/17 04:28:45 obache Exp $
# $NetBSD: module.mk,v 1.71 2014/05/21 13:35:23 obache Exp $
#
# This Makefile fragment is intended to be included by packages that build
# and install perl5 modules.
@@ -230,6 +230,4 @@ LDFLAGS+= ${PERL5_LDFLAGS}
.include "../../lang/perl5/packlist.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif # PERL5_MODULE_MK
+8 -6
View File
@@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.5 2014/01/13 09:59:16 adam Exp $
# $NetBSD: options.mk,v 1.9 2014/06/04 14:24:37 richard Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.perl
PKG_OPTIONS_REQUIRED_GROUPS= perlbits
@@ -16,8 +16,12 @@ PERL5_BUILD_THREADS_SUPPORT= yes
PERL5_BUILD_THREADS_SUPPORT= ${DLOPEN_REQUIRE_PTHREADS}
.endif
# Needs to be include here for the broken-vax-pthreads hack
.include "hacks.mk"
### from KNOWN PROBLEMS in README.haiku
### Perl cannot be compiled with threading support ATM.
###
.if !empty(MACHINE_PLATFORM:MHaiku-*-*)
PERL5_BUILD_THREADS_SUPPORT= no
.endif
.if !empty(PERL5_BUILD_THREADS_SUPPORT:M[yY][eE][sS])
PKG_SUGGESTED_OPTIONS= threads
@@ -38,7 +42,7 @@ PKG_SUGGESTED_OPTIONS+= 64bitauto
.endif
# Note: dtrace command on Darwin lacks required -G option
.if ${OPSYS} == "SunOS"
.if !empty(MACHINE_PLATFORM:MSunOS-1[123456789].*-*)
PKG_SUGGESTED_OPTIONS+= dtrace
.endif
@@ -66,8 +70,6 @@ CFLAGS+= -DDEBUGGING
.if !empty(PKG_OPTIONS:Mdtrace)
CONFIGURE_ARGS+= -Dusedtrace
# perldtrace.h has incorrect dependencies, needs to be built first.
BUILD_TARGET= perldtrace.h all
.endif
.if !empty(PKG_OPTIONS:Mmstats)
+2 -2
View File
@@ -1,4 +1,4 @@
# $NetBSD: packlist.mk,v 1.18 2012/02/21 06:49:21 sbd Exp $
# $NetBSD: packlist.mk,v 1.19 2014/11/13 17:48:59 tron Exp $
#
# This Makefile fragment is intended to be included by packages that
# create packlist files. This file is automatically included by
@@ -91,7 +91,7 @@ _PERL5_PACKLIST_AWK_STRIP_DESTDIR=
###
_PERL5_PACKLIST_MANPAGE_RE= \
^(\/[^ \/]*)+\/(man[1-9ln]\/[^ \/]*\.[1-9ln]|cat[1-9ln]\/[^ \/]*\.[0-9])(\.gz)?$$
^(\/[^ \/]*)+\/(man[1-9ln]\/[^ \/]*\.[1-9ln]|cat[1-9ln]\/[^ \/]*\.[0-9])$$
_PERL5_PACKLIST_AWK_STRIP_MANZ= \
/${_PERL5_PACKLIST_MANPAGE_RE}\.gz/ \
+17 -4
View File
@@ -1,10 +1,14 @@
$NetBSD: patch-Makefile.SH,v 1.1 2014/01/04 15:10:05 richard Exp $
due to bloody backward incompatible changes in recent dtrace on SunOS
$NetBSD: patch-Makefile.SH,v 1.3 2014/10/01 07:17:02 adam Exp $
Due to bloody backward incompatible changes in recent dtrace on SunOS
postpone invocation of dtrace to later with the actual probe objects.
--- Makefile.SH.orig 2013-08-12 02:44:47.000000000 +0000
Ensure perldtrace.h is generated during makedepends in order to avoid
compilation problems
--- Makefile.SH.orig 2014-05-26 13:34:18.000000000 +0000
+++ Makefile.SH
@@ -234,10 +234,9 @@ dtrace_o=''
@@ -225,10 +225,9 @@ dtrace_o=''
minidtrace_o=''
case "$usedtrace" in
define|true)
@@ -18,3 +22,12 @@ postpone invocation of dtrace to later with the actual probe objects.
;;
esac
@@ -1579,7 +1578,7 @@ nokfilenack: utilities
.PHONY: clist hlist
-clist: $(c)
+clist: $(c) $(DTRACE_H)
echo $(c) | tr ' ' $(TRNL) >.clist
hlist: $(h)
+14 -14
View File
@@ -1,11 +1,11 @@
$NetBSD: patch-aa,v 1.35 2012/10/03 19:59:47 adam Exp $
$NetBSD: patch-aa,v 1.36 2014/05/29 07:57:07 adam Exp $
- $Is{NetBSD} and $Is{Interix} are unified into $Is{BSD}.
- Ignore installed packlist when creating new packlist.
* $Is{NetBSD} and $Is{Interix} are unified into $Is{BSD}.
* Ignore installed packlist when creating new packlist.
--- cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.orig 2012-04-25 00:18:31.000000000 +0000
--- cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm.orig 2014-05-26 13:34:19.000000000 +0000
+++ cpan/ExtUtils-MakeMaker/lib/ExtUtils/MM_Unix.pm
@@ -29,8 +29,6 @@ BEGIN {
@@ -29,8 +29,6 @@ BEGIN {
$Is{VMS} = $^O eq 'VMS';
$Is{OSF} = $^O eq 'dec_osf';
$Is{IRIX} = $^O eq 'irix';
@@ -14,21 +14,21 @@ $NetBSD: patch-aa,v 1.35 2012/10/03 19:59:47 adam Exp $
$Is{SunOS4} = $^O eq 'sunos';
$Is{Solaris} = $^O eq 'solaris';
$Is{SunOS} = $Is{SunOS4} || $Is{Solaris};
@@ -932,7 +930,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $
@@ -934,7 +932,7 @@ $(INST_DYNAMIC): $(OBJECT) $(MYEXTLIB) $
my $libs = '$(LDLOADLIBS)';
- if (($Is{NetBSD} || $Is{Interix}) && $Config{'useshrplib'} eq 'true') {
- if (($Is{NetBSD} || $Is{Interix} || $Is{Android}) && $Config{'useshrplib'} eq 'true') {
+ if ($Is{BSD} && $Config{'useshrplib'} eq 'true') {
# Use nothing on static perl platforms, and to the flags needed
# to link against the shared libperl library on shared perl
# platforms. We peek at lddlflags to see if we need -Wl,-R
@@ -2079,7 +2077,7 @@ pure_site_install :: all
pure_vendor_install :: all
@@ -2116,7 +2114,7 @@ pure_vendor_install :: all
$(NOECHO) $(MOD_INSTALL) \
- read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
+ read "" \
};
push @m,
-q{ read }.$self->catfile('$(VENDORARCHEXP)','auto','$(FULLEXT)','.packlist').q{ \
+q{ read "" \
write }.$self->catfile('$(DESTINSTALLVENDORARCH)','auto','$(FULLEXT)','.packlist').q{ \
$(INST_LIB) $(DESTINSTALLVENDORLIB) \
$(INST_ARCHLIB) $(DESTINSTALLVENDORARCH) \
} unless $self->{NO_PACKLIST};
+5 -42
View File
@@ -1,51 +1,14 @@
$NetBSD: patch-ab,v 1.19 2013/03/04 11:56:29 obache Exp $
$NetBSD: patch-ab,v 1.20 2014/05/29 07:57:07 adam Exp $
* fixes packlist with destdir installation on Cygwin.
https://rt.perl.org/rt3/Ticket/Display.html?id=117033
* XXX
--- installperl.orig 2012-10-26 02:44:15.000000000 +0000
--- installperl.orig 2014-05-26 13:34:20.000000000 +0000
+++ installperl
@@ -275,7 +275,7 @@ if (($Is_W32 and ! $Is_NetWare) or $Is_C
safe_unlink("$installbin/$perldll");
copy("$perldll", "$installbin/$perldll");
chmod(0755, "$installbin/$perldll");
- $packlist->{"$installbin/$perldll"} = { type => 'file' };
+ $packlist->{"$Config{installbin}/$perldll"} = { type => 'file' };
} # if (($Is_W32 and ! $Is_NetWare) or $Is_Cygwin)
# First we install the version-numbered executables.
@@ -346,7 +346,6 @@ $do_installprivlib = 0 if $versiononly &
mkpath($installprivlib, $opts{verbose}, 0777);
mkpath($installarchlib, $opts{verbose}, 0777);
@@ -332,7 +332,6 @@ $do_installprivlib = 0 if $versiononly &
mkpath($installprivlib);
mkpath($installarchlib);
mkpath($installsitelib, $opts{verbose}, 0777) if ($installsitelib);
-mkpath($installsitearch, $opts{verbose}, 0777) if ($installsitearch);
if (-d 'lib') {
find({no_chdir => 1, wanted => \&installlib}, 'lib')
@@ -367,21 +366,22 @@ if ($Is_VMS) { # We did core file selec
elsif ($Is_Cygwin) { # On Cygwin symlink it to CORE to make Makefile happy
@corefiles = <*.h libperl*.* perl*$Config{lib_ext}>;
my $coredll = "$installarchlib/CORE/$libperl";
+ my $instcoredll = "$Config{installarchlib}/CORE/$libperl";
safe_unlink($coredll);
( $Config{'d_link'} eq 'define' &&
eval {
CORE::link("$installbin/$libperl", $coredll);
- $packlist->{$coredll} = { from => "$installbin/$libperl",
+ $packlist->{$instcoredll} = { from => "$Config{installbin}/$libperl",
type => 'link' };
}
) ||
eval {
symlink("$installbin/$libperl", $coredll);
- $packlist->{$coredll} = { from => "$installbin/$libperl",
+ $packlist->{$instcoredll} = { from => "$Config{installbin}/$libperl",
type => 'link' };
} ||
( copy("$installbin/$libperl", $coredll) &&
- push(@corefiles, $coredll)
+ push(@corefiles, $instcoredll)
)
} else {
# [als] hard-coded 'libperl' name... not good!
+13 -12
View File
@@ -1,18 +1,19 @@
$NetBSD: patch-ac,v 1.17 2012/10/03 19:59:47 adam Exp $
$NetBSD: patch-ac,v 1.19 2014/06/04 00:21:33 dsainty Exp $
We intentionally wire down the 'libswanted' list in the package Makefile,
so don't let the hints file add new libraries that may be found outside
Pkgsrc control.
--- hints/linux.sh 2009-02-13 11:58:12.000000000 +1300
+++ hints/linux.sh 2009-12-22 16:46:41.400187863 +1300
@@ -57,9 +57,6 @@
shift
libswanted="$*"
--- hints/linux.sh.orig 2014-05-26 13:34:20.000000000 +0000
+++ hints/linux.sh
@@ -61,10 +61,6 @@
-# Debian 4.0 puts ndbm in the -lgdbm_compat library.
-libswanted="$libswanted gdbm_compat"
-
# If you have glibc, then report the version for ./myconfig bug reporting.
# (Configure doesn't need to know the specific version since it just uses
# gcc to load the library for all tests.)
# Debian 4.0 puts ndbm in the -lgdbm_compat library.
echo $libs
-if echo " $libswanted " | grep -q ' gdbm '; then
- # Only add if gdbm is in libswanted.
- libswanted="$libswanted gdbm_compat"
-fi
# Configure may fail to find lstat() since it's a static/inline
# function in <sys/stat.h>.
+14 -14
View File
@@ -1,18 +1,18 @@
$NetBSD: patch-ah,v 1.14 2012/10/03 19:59:47 adam Exp $
$NetBSD: patch-ah,v 1.15 2014/05/29 07:57:07 adam Exp $
NetBSD's implementation sometimes returns "/"; reject that too.
--- perl.c.orig 2012-08-03 17:35:26.000000000 +0000
+++ perl.c
@@ -1451,8 +1451,10 @@ S_set_caret_X(pTHX) {
to the executable (or returning an error from the readlink). Any
valid path has a '/' in it somewhere, so use that to validate the
result. See http://www.freebsd.org/cgi/query-pr.cgi?pr=35703
--- caretx.c.orig 2014-05-29 07:34:48.000000000 +0000
+++ caretx.c
@@ -117,8 +117,10 @@ Perl_set_caret_X(pTHX) {
to the executable (or returning an error from the readlink). Any
valid path has a '/' in it somewhere, so use that to validate the
result. See http://www.freebsd.org/cgi/query-pr.cgi?pr=35703
+
+ NetBSD's implementation sometimes returns "/"; reject that too.
*/
- if (len > 0 && memchr(buf, '/', len)) {
+ if (len > 1 && memchr(buf, '/', len)) {
sv_setpvn(caret_x, buf, len);
return;
}
+ NetBSD's implementation sometimes returns "/"; reject that too.
*/
- if (len > 0 && memchr(buf, '/', len)) {
+ if (len > 1 && memchr(buf, '/', len)) {
sv_setpvn(caret_x, buf, len);
return;
}
+38 -44
View File
@@ -1,16 +1,12 @@
$NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
$NetBSD: patch-ca,v 1.22 2015/02/25 14:56:45 wiz Exp $
* Use "uname -r" to get OS version for *BSD.
* Move $loclibpth to the end of $dlist, instead of the beginning.
* Disable -fstack-protector on SunOS
* Several other changes.
--- Configure.orig 2014-01-06 22:46:42.000000000 +0000
--- Configure.orig 2015-01-10 12:06:37.000000000 +0000
+++ Configure
@@ -3274,13 +3274,14 @@ EOM
@@ -3372,13 +3372,14 @@ EOM
osvers="$3"
;;
dragonfly) osname=dragonfly
@@ -27,7 +23,7 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
genix) osname=genix ;;
gnu) osname=gnu
osvers="$3" ;;
@@ -3302,7 +3303,7 @@ EOM
@@ -3401,7 +3402,7 @@ EOM
MiNT) osname=mint
;;
netbsd*) osname=netbsd
@@ -36,7 +32,7 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
;;
news-os) osvers="$3"
case "$3" in
@@ -3313,7 +3314,7 @@ EOM
@@ -3412,7 +3413,7 @@ EOM
next*) osname=next ;;
nonstop-ux) osname=nonstopux ;;
openbsd) osname=openbsd
@@ -45,7 +41,7 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
;;
os2) osname=os2
osvers="$4"
@@ -3328,6 +3329,9 @@ EOM
@@ -3427,6 +3428,9 @@ EOM
qnx) osname=qnx
osvers="$4"
;;
@@ -55,7 +51,16 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
solaris) osname=solaris
case "$3" in
5*) osvers=`echo $3 | $sed 's/^5/2/g'` ;;
@@ -4722,7 +4726,7 @@ case "$plibpth" in
@@ -4865,7 +4869,7 @@ esac
# If using gcc or clang, we can get better values for libpth, incpth
# and usrinc directly from the compiler.
# Note that ccname for clang is also gcc.
-case "$ccname" in
+case "xx$ccname" in
gcc)
$echo 'extern int foo;' > try.c
set X `$cppstdin -v try.c 2>&1 | $awk '/^#include </,/^End of search /'|$cppfilter $grep '/include'`
@@ -4941,14 +4945,14 @@ case "$plibpth" in
esac
case "$libpth" in
' ') dlist='';;
@@ -64,8 +69,7 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
*) dlist="$libpth";;
esac
@@ -4730,7 +4734,7 @@ esac
libpth=''
: Now check and see which directories actually exist, avoiding duplicates
for xxx in $dlist
do
- if $test -d $xxx; then
@@ -73,7 +77,7 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
case " $libpth " in
*" $xxx "*) ;;
*) libpth="$libpth $xxx";;
@@ -4819,7 +4823,7 @@ lib_ext=$_a
@@ -5064,7 +5068,7 @@ lib_ext=$_a
obj_ext=$_o
path_sep=$p_
@@ -82,19 +86,7 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
: Which makefile gets called first. This is used by make depend.
case "$firstmakefile" in
@@ -5119,8 +5123,10 @@ default|recommended)
# as that way the compiler can do the right implementation dependant
# thing. (NWC)
case "$gccversion" in
- ?*) set stack-protector -fstack-protector
+ ?*) if test "X$osname" != "Xsolaris"; then
+ set stack-protector -fstack-protector
eval $checkccflag
+ fi
;;
esac
;;
@@ -6486,7 +6492,9 @@ rp='Pathname for the site-specific libra
@@ -6767,7 +6771,9 @@ rp='Pathname for the site-specific libra
. ./getfile
prefixvar=sitelib
. ./setprefixvar
@@ -105,7 +97,7 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
: Determine list of previous versions to include in @INC
$cat > getverlist <<EOPL
@@ -6999,7 +7007,9 @@ case "$vendorprefix" in
@@ -7179,7 +7185,9 @@ case "$vendorprefix" in
vendorlibexp="$ansexp"
;;
esac
@@ -116,7 +108,7 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
prefixvar=vendorlib
. ./installprefix
@@ -7476,6 +7486,15 @@ case "$nm_so_opt" in
@@ -7656,6 +7664,15 @@ case "$nm_so_opt" in
;;
esac
@@ -132,24 +124,26 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
: Figure out where the libc is located
case "$runnm" in
true)
@@ -8048,6 +8067,7 @@ EOM
;;
linux|irix*|gnu*) dflt="-shared $optimize" ;;
next) dflt='none' ;;
+ sco_sv) dflt='-shared' ;;
solaris) # See [perl #66604]. On Solaris 11, gcc -m64 on amd64
# appears not to understand -G. gcc versions at
# least as old as 3.4.3 support -shared, so just
@@ -8347,7 +8367,7 @@ if "$useshrplib"; then
@@ -8240,6 +8257,7 @@ EOM
;;
*linux*|irix*|gnu*) dflt="-shared $optimize" ;;
next) dflt='none' ;;
+ sco_sv) dflt='-shared' ;;
solaris) # See [perl #66604].
# On Solaris 11, gcc -m64 on amd64
# appears not to understand -G. gcc versions at
@@ -8548,6 +8566,10 @@ if "$useshrplib"; then
next)
# next doesn't like the default...
;;
haiku)
- # Haiku doesn't like the default, either.
+ haiku)
+ # Haiku doesn't like the default, either.
+ xxx="-Wl,-rpath,$shrpdir"
;;
+ ;;
hpux*)
# hpux doesn't like the default, either.
@@ -8356,6 +8376,9 @@ if "$useshrplib"; then
tmp_shrpenv="env LDOPTS=\"+s +b${shrpdir}\""
@@ -8555,6 +8577,9 @@ if "$useshrplib"; then
cygwin)
# cygwin needs only ldlibpth
;;
@@ -159,7 +153,7 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
*)
tmp_shrpenv="env LD_RUN_PATH=$shrpdir"
;;
@@ -9431,6 +9454,13 @@ esac
@@ -9630,6 +9655,13 @@ esac
: Check if we want perlio
useperlio="$define"
@@ -173,7 +167,7 @@ $NetBSD: patch-ca,v 1.18 2014/03/14 22:41:10 ryoon Exp $
: Set the vendorbin variables
case "$vendorprefix" in
'') d_vendorbin="$undef"
@@ -19243,7 +19273,15 @@ RCAT(Rei,ser)
@@ -19363,7 +19395,15 @@ RCAT(Rei,ser)
ACAT(Cir,cus)
EOCP
$cppstdin $cppflags $cppminus <cpp_stuff.c >cpp_stuff.out 2>&1
@@ -0,0 +1,14 @@
$NetBSD: patch-ext_Errno_Errno__pm.PL,v 1.1 2014/06/07 11:57:34 obache Exp $
* add include path for Haiku new directory layout.
--- ext/Errno/Errno_pm.PL.orig 2014-05-26 13:34:20.000000000 +0000
+++ ext/Errno/Errno_pm.PL
@@ -142,6 +142,7 @@ sub get_files {
$file{$linux_errno_h} = 1;
} elsif ($^O eq 'haiku') {
# hidden in a special place
+ $file{'/boot/system/develop/headers/posix/errno.h'} = 1;
$file{'/boot/develop/headers/posix/errno.h'} = 1;
} elsif ($^O eq 'vos') {
+17 -9
View File
@@ -1,17 +1,25 @@
$NetBSD: patch-hints_darwin.sh,v 1.4 2013/07/18 07:21:02 adam Exp $
$NetBSD: patch-hints_darwin.sh,v 1.5 2014/11/22 15:45:41 bsiegert Exp $
Don't set MACOSX_DEPLOYMENT_TARGET.
MACOSX_DEVELOPMENT_TARGET is required on version of OS X pre 10.6
See Perl bug #117433
--- hints/darwin.sh.orig 2013-05-07 14:45:09.000000000 +0000
--- hints/darwin.sh.orig 2014-09-14 11:31:02.000000000 +0000
+++ hints/darwin.sh
@@ -183,10 +183,6 @@ case "$osvers" in
@@ -185,13 +185,16 @@ case "$osvers" in
ldflags="${ldflags} -flat_namespace"
lddlflags="${ldflags} -bundle -undefined suppress"
;;
*)
-*)
+[7-9].*)
lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
- case "$ld" in
- *MACOSX_DEVELOPMENT_TARGET*) ;;
- *) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;;
- esac
case "$ld" in
*MACOSX_DEVELOPMENT_TARGET*) ;;
*) ld="env MACOSX_DEPLOYMENT_TARGET=10.3 ${ld}" ;;
esac
;;
+*)
+ lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
+ ;;
esac
ldlibpthname='DYLD_LIBRARY_PATH';
+3 -29
View File
@@ -1,10 +1,10 @@
$NetBSD: patch-hints_netbsd.sh,v 1.8 2013/11/13 13:36:02 joerg Exp $
$NetBSD: patch-hints_netbsd.sh,v 1.10 2015/02/25 14:56:45 wiz Exp $
--whole-archive is a linker flag, not a compiler flag
Better defaults for paths.
Stop grovelling for functions we don't want to provide (*host*)
--- hints/netbsd.sh.orig 2013-05-23 23:38:10.000000000 +0000
--- hints/netbsd.sh.orig 2015-01-17 16:59:58.000000000 +0000
+++ hints/netbsd.sh
@@ -36,16 +36,6 @@ case "$osvers" in
d_dlerror=$define
@@ -23,33 +23,7 @@ Stop grovelling for functions we don't want to provide (*host*)
rpathflag="-Wl,-rpath,"
case "$osvers" in
1.[0-5]*)
@@ -100,6 +90,12 @@ case "$osvers" in
d_getservbyport_r="$undef"
d_setservent_r="$undef"
d_endservent_r="$undef"
+ d_gethostbyname_r="$undef"
+ d_gethostbyaddr2_r="$undef"
+ d_gethostbyaddr_r="$undef"
+ d_sethostent_r="$undef"
+ d_gethostent_r="$undef"
+ d_endhostent_r="$undef"
d_getprotoent_r_proto="0"
d_getprotobyname_r_proto="0"
d_getprotobynumber_r_proto="0"
@@ -110,6 +106,12 @@ case "$osvers" in
d_getservbyport_r_proto="0"
d_setservent_r_proto="0"
d_endservent_r_proto="0"
+ d_gethostbyname_r_proto="0"
+ d_gethostbyaddr2_r_proto="0"
+ d_gethostbyaddr_r_proto="0"
+ d_sethostent_r_proto="0"
+ d_endhostent_r_proto="0"
+ d_gethostent_r_proto="0"
;;
esac
@@ -186,10 +188,12 @@ esac
@@ -200,10 +190,12 @@ esac
EOCBU
# Set sensible defaults for NetBSD: look for local software in
-21
View File
@@ -1,21 +0,0 @@
$NetBSD: patch-hv.c,v 1.2 2013/05/31 10:55:15 adam Exp $
Work around a crash with apaache-1.3.42 and mod_perl-1.31:
--- hv.c.orig 2013-05-09 13:47:39.000000000 +0000
+++ hv.c
@@ -1728,12 +1728,13 @@ Perl_hv_undef_flags(pTHX_ HV *hv, U32 fl
dVAR;
XPVHV* xhv;
const char *name;
- const bool save = !!SvREFCNT(hv);
+ bool save;
if (!hv)
return;
DEBUG_A(Perl_hv_assert(aTHX_ hv));
xhv = (XPVHV*)SvANY(hv);
+ save = !!SvREFCNT(hv);
/* The name must be deleted before the call to hfreeeeentries so that
CVs are anonymised properly. But the effective name must be pre-
+14
View File
@@ -0,0 +1,14 @@
$NetBSD: patch-install__lib.pl,v 1.1 2014/06/07 11:58:39 obache Exp $
* File::Copy is used for the case link() is not usable.
--- install_lib.pl.orig 2014-06-07 09:51:07.000000000 +0000
+++ install_lib.pl
@@ -8,6 +8,7 @@ use vars qw($Is_VMS $Is_W32 $Is_OS2 $Is_
%opts $packlist);
use subs qw(unlink link chmod);
require File::Path;
+require File::Copy;
BEGIN {
require Config;
-18
View File
@@ -1,18 +0,0 @@
$NetBSD: patch-locale.c,v 1.1 2014/03/14 22:41:10 ryoon Exp $
--- locale.c.orig 2014-01-06 22:46:45.000000000 +0000
+++ locale.c
@@ -517,6 +517,13 @@ Perl_init_i18nl10n(pTHX_ int printwarn)
char *codeset = NULL;
#if defined(HAS_NL_LANGINFO) && defined(CODESET)
codeset = nl_langinfo(CODESET);
+/*
+ * SCO OpenServer 5.0.7/3.2's nl_langinfo(CODESET) always returns empty.
+ */
+#if defined(_SCO_DS)
+ strncpy(codeset, "646", 3);
+ codeset[3] = '\0';
+#endif
#endif
if (codeset)
utf8locale = (foldEQ(codeset, STR_WITH_LEN("UTF-8"))
+7 -7
View File
@@ -1,11 +1,11 @@
$NetBSD: patch-ze,v 1.5 2013/05/31 10:55:15 adam Exp $
$NetBSD: patch-ze,v 1.6 2014/05/29 07:57:07 adam Exp $
Fixes compilation problem on Solaris/SPARC.
--- perl.h.orig 2013-05-05 19:32:18.000000000 +0000
--- perl.h.orig 2014-05-26 13:34:20.000000000 +0000
+++ perl.h
@@ -1435,8 +1435,8 @@ EXTERN_C char *crypt(const char *, const
# endif
@@ -1265,8 +1265,8 @@ EXTERN_C char *crypt(const char *, const
# endif
#else
# ifdef HAS_SYS_ERRLIST
- extern int sys_nerr;
@@ -14,11 +14,11 @@ Fixes compilation problem on Solaris/SPARC.
+ extern const char *const sys_errlist[];
# ifndef Strerror
# define Strerror(e) \
((e) < 0 || (e) >= sys_nerr ? "(unknown)" : sys_errlist[e])
@@ -1514,6 +1514,10 @@ EXTERN_C char *crypt(const char *, const
((e) < 0 || (e) >= sys_nerr ? UNKNOWN_ERRNO_MSG : sys_errlist[e])
@@ -1331,6 +1331,10 @@ EXTERN_C char *crypt(const char *, const
*/
#if defined(I_SYSMODE) && !defined(PERL_MICRO)
#if defined(I_SYSMODE)
+#if defined(__sun)
+#include <sys/stat.h>
+#include <sys/vnode.h>