[137201] trunk/dports/lang
mojca at macports.org
mojca at macports.org
Fri Jun 5 21:50:48 PDT 2015
Revision: 137201
https://trac.macports.org/changeset/137201
Author: mojca at macports.org
Date: 2015-06-05 21:50:48 -0700 (Fri, 05 Jun 2015)
Log Message:
-----------
perl5.22: new port
Modified Paths:
--------------
trunk/dports/lang/perl5.22/Portfile
trunk/dports/lang/perl5.22/files/avoid-bind9-linking.patch
trunk/dports/lang/perl5.22/files/avoid-no-cpp-precomp-PR38913.patch
trunk/dports/lang/perl5.22/files/clean-up-paths.patch
trunk/dports/lang/perl5.22/files/fix-ld-modification.patch
trunk/dports/lang/perl5.22/files/fix-miniperl-linking-PR36438.patch
trunk/dports/lang/perl5.22/files/install-under-short-version-PR43480.patch
Added Paths:
-----------
trunk/dports/lang/perl5.22/
Modified: trunk/dports/lang/perl5.22/Portfile
===================================================================
--- trunk/dports/lang/perl5.20/Portfile 2015-06-05 18:57:45 UTC (rev 137160)
+++ trunk/dports/lang/perl5.22/Portfile 2015-06-06 04:50:48 UTC (rev 137201)
@@ -3,15 +3,15 @@
PortSystem 1.0
-name perl5.20
-version 5.20.2
+name perl5.22
+version 5.22.0
set branch [join [lrange [split ${version} .] 0 1] .]
categories lang
platforms darwin freebsd linux
license {Artistic-1 GPL}
-maintainers nomaintainer
+maintainers mojca openmaintainer
-description Perl 5.20.x - Practical Extraction and Report Language
+description Perl 5.22.x - Practical Extraction and Report Language
long_description Perl is a general-purpose programming language \
originally developed for text manipulation and now \
used for a wide range of tasks including system \
@@ -25,8 +25,8 @@
distname perl-${version}
use_bzip2 yes
-checksums rmd160 a24d4c70846ae4332d01d8d56696a55bf492f44b \
- sha256 e5a4713bc65e1da98ebd833dce425c000768bfe84d17ec5183ec5ca249db71ab
+checksums rmd160 16f3ac6c5d4d72e599222bcbf2591c3b2aa2f857 \
+ sha256 3689fdb519133d039f49e12834764ff4c1de8f8d925dea44a952ca110d0ac9f7
patchfiles clean-up-paths.patch \
avoid-no-cpp-precomp-PR38913.patch \
@@ -119,4 +119,4 @@
livecheck.type regex
livecheck.url http://www.cpan.org/src
-livecheck.regex {perl-(5\.20\.\d)\.}
+livecheck.regex {perl-(5\.22\.\d)\.}
Modified: trunk/dports/lang/perl5.22/files/avoid-bind9-linking.patch
===================================================================
--- trunk/dports/lang/perl5.20/files/avoid-bind9-linking.patch 2015-06-05 18:57:45 UTC (rev 137160)
+++ trunk/dports/lang/perl5.22/files/avoid-bind9-linking.patch 2015-06-06 04:50:48 UTC (rev 137201)
@@ -1,3 +1,7 @@
+I guess the last line
+ loclibpth="$loclibpth /opt/local/lib/libgcc" ;;
+which is new in 5.22 needs some special "treatment".
+
Index: hints/darwin.sh
===================================================================
--- hints/darwin.sh.orig
@@ -2,3 +6,3 @@
+++ hints/darwin.sh
-@@ -327,6 +327,8 @@ i_dbm=undef;
+@@ -337,6 +337,8 @@ i_dbm=undef;
# NeilW says this should be acceptable on all darwin versions.
@@ -8,6 +12,6 @@
+libswanted="$(echo $libswanted | sed -e 's/bind //' -e 's/ bind//')"
+
- ##
- # Build process
- ##
+ # Catch MacPorts gcc/g++ extra libdir
+ case "$($cc -v 2>&1)" in
+ *"MacPorts gcc"*) loclibpth="$loclibpth /opt/local/lib/libgcc" ;;
Modified: trunk/dports/lang/perl5.22/files/avoid-no-cpp-precomp-PR38913.patch
===================================================================
--- trunk/dports/lang/perl5.20/files/avoid-no-cpp-precomp-PR38913.patch 2015-06-05 18:57:45 UTC (rev 137160)
+++ trunk/dports/lang/perl5.22/files/avoid-no-cpp-precomp-PR38913.patch 2015-06-06 04:50:48 UTC (rev 137201)
@@ -2,7 +2,7 @@
===================================================================
--- hints/darwin.sh.orig
+++ hints/darwin.sh
-@@ -129,8 +129,6 @@ esac
+@@ -137,8 +137,6 @@ esac
# Avoid Apple's cpp precompiler, better for extensions
if [ "X`echo | ${cc} -no-cpp-precomp -E - 2>&1 >/dev/null`" = "X" ]; then
Modified: trunk/dports/lang/perl5.22/files/clean-up-paths.patch
===================================================================
--- trunk/dports/lang/perl5.20/files/clean-up-paths.patch 2015-06-05 18:57:45 UTC (rev 137160)
+++ trunk/dports/lang/perl5.22/files/clean-up-paths.patch 2015-06-06 04:50:48 UTC (rev 137201)
@@ -2,7 +2,7 @@
===================================================================
--- Configure.orig
+++ Configure
-@@ -106,8 +106,8 @@ if test -d c:/. || ( uname -a | grep -i
+@@ -108,8 +108,8 @@ if test -d c:/. || ( uname -a | grep -i
fi
: Proper PATH setting
@@ -13,7 +13,7 @@
paths="$paths /usr/5bin /etc /usr/gnu/bin /usr/new /usr/new/bin /usr/nbin"
paths="$paths /opt/gnu/bin /opt/new /opt/new/bin /opt/nbin"
paths="$paths /sys5.3/bin /sys5.3/usr/bin /bsd4.3/bin /bsd4.3/usr/ucb"
-@@ -1337,7 +1337,7 @@ archobjs=''
+@@ -1404,7 +1404,7 @@ archobjs=''
archname=''
: Possible local include directories to search.
: Set locincpth to "" in a hint file to defeat local include searches.
@@ -22,7 +22,7 @@
locincpth="$locincpth /opt/gnu/include /usr/GNU/include /opt/GNU/include"
:
: no include file wanted by default
-@@ -1351,12 +1351,12 @@ libnames=''
+@@ -1418,12 +1418,12 @@ libnames=''
: change the next line if compiling for Xenix/286 on Xenix/386
xlibpth='/usr/lib/386 /lib/386'
: Possible local library directories to search.
Modified: trunk/dports/lang/perl5.22/files/fix-ld-modification.patch
===================================================================
--- trunk/dports/lang/perl5.20/files/fix-ld-modification.patch 2015-06-05 18:57:45 UTC (rev 137160)
+++ trunk/dports/lang/perl5.22/files/fix-ld-modification.patch 2015-06-06 04:50:48 UTC (rev 137201)
@@ -2,8 +2,8 @@
===================================================================
--- hints/darwin.sh.orig
+++ hints/darwin.sh
-@@ -193,7 +193,7 @@ case "$osvers" in
- *)
+@@ -203,7 +203,7 @@ case "$osvers" in
+ # https://developer.apple.com/library/mac/documentation/DeveloperTools/Conceptual/cross_development/Configuring/configuring.html
lddlflags="${ldflags} -bundle -undefined dynamic_lookup"
case "$ld" in
- *MACOSX_DEVELOPMENT_TARGET*) ;;
Modified: trunk/dports/lang/perl5.22/files/fix-miniperl-linking-PR36438.patch
===================================================================
--- trunk/dports/lang/perl5.20/files/fix-miniperl-linking-PR36438.patch 2015-06-05 18:57:45 UTC (rev 137160)
+++ trunk/dports/lang/perl5.22/files/fix-miniperl-linking-PR36438.patch 2015-06-06 04:50:48 UTC (rev 137201)
@@ -2,7 +2,7 @@
===================================================================
--- Makefile.SH.orig
+++ Makefile.SH
-@@ -914,7 +914,8 @@ NAMESPACEFLAGS = -force_flat_namespace
+@@ -905,7 +905,8 @@ NAMESPACEFLAGS = -force_flat_namespace
$spitshell >>$Makefile <<'!NO!SUBS!'
lib/buildcustomize.pl: $& $(mini_obj) write_buildcustomize.pl
- at rm -f miniperl.xok
Modified: trunk/dports/lang/perl5.22/files/install-under-short-version-PR43480.patch
===================================================================
--- trunk/dports/lang/perl5.20/files/install-under-short-version-PR43480.patch 2015-06-05 18:57:45 UTC (rev 137160)
+++ trunk/dports/lang/perl5.22/files/install-under-short-version-PR43480.patch 2015-06-06 04:50:48 UTC (rev 137201)
@@ -1,7 +1,7 @@
https://trac.macports.org/ticket/43480
--- Configure.orig
+++ Configure
-@@ -4265,6 +4265,8 @@ dos|vms)
+@@ -4331,6 +4331,8 @@ dos|vms)
*)
version=`echo $revision $patchlevel $subversion | \
$awk '{ printf "%d.%d.%d\n", $1, $2, $3 }'`
@@ -10,7 +10,7 @@
api_versionstring=`echo $api_revision $api_version $api_subversion | \
$awk '{ printf "%d.%d.%d\n", $1, $2, $3 }'`
;;
-@@ -6499,7 +6501,7 @@ esac
+@@ -7222,7 +7224,7 @@ esac
: /opt/perl/lib/perl5... would be redundant.
: The default "style" setting is made in installstyle.U
case "$installstyle" in
@@ -19,7 +19,7 @@
*) set dflt privlib lib/$version ;;
esac
eval $prefixit
-@@ -6747,7 +6749,7 @@ siteprefixexp="$ansexp"
+@@ -7470,7 +7472,7 @@ siteprefixexp="$ansexp"
prog=`echo $package | $sed 's/-*[0-9.]*$//'`
case "$sitelib" in
'') case "$installstyle" in
@@ -28,7 +28,7 @@
*) dflt=$siteprefix/lib/site_$prog/$version ;;
esac
;;
-@@ -7165,7 +7167,7 @@ case "$vendorprefix" in
+@@ -7888,7 +7890,7 @@ case "$vendorprefix" in
'')
prog=`echo $package | $sed 's/-*[0-9.]*$//'`
case "$installstyle" in
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150605/e8facca5/attachment-0001.html>
More information about the macports-changes
mailing list