From 9664bee729d487bcc0a0bc35859f8e13d5421c75 Mon Sep 17 00:00:00 2001 From: Patrick J Volkerding Date: Wed, 26 Sep 2012 01:10:42 +0000 Subject: Slackware 14.0 Wed Sep 26 01:10:42 UTC 2012 Slackware 14.0 x86_64 stable is released! We're perfectionists here at Slackware, so this release has been a long time a-brewing. But we think you'll agree that it was worth the wait. Slackware 14.0 combines modern components, ease of use, and flexible configuration... our "KISS" philosophy demands it. The ISOs are off to be replicated, a 6 CD-ROM 32-bit set and a dual-sided 32-bit/64-bit x86/x86_64 DVD. Please consider supporting the Slackware project by picking up a copy from store.slackware.com. We're taking pre-orders now, and offer a discount if you sign up for a subscription. Thanks to everyone who helped make this happen. The Slackware team, the upstream developers, and (of course) the awesome Slackware user community. Have fun! :-) --- source/d/perl/perl.SlackBuild | 47 ++++++++++++++++++++++++++----------------- 1 file changed, 29 insertions(+), 18 deletions(-) (limited to 'source/d/perl/perl.SlackBuild') diff --git a/source/d/perl/perl.SlackBuild b/source/d/perl/perl.SlackBuild index ca044b913..df535c7d5 100755 --- a/source/d/perl/perl.SlackBuild +++ b/source/d/perl/perl.SlackBuild @@ -1,6 +1,6 @@ #!/bin/sh -# Copyright 2009, 2010, 2011 Patrick J. Volkerding, Sebeka, MN, USA +# Copyright 2009, 2010, 2011, 2012 Patrick J. Volkerding, Sebeka, MN, USA # All rights reserved. # # Redistribution and use of this script, with or without modification, is @@ -24,9 +24,7 @@ # originally by: David Cantrell # maintained by: -VERSION=5.12.3 -# IMPORTANT: also update -Dinc_version_list with the previous Slackware -# perl version in ./configure below! +VERSION=5.16.1 BUILD=${BUILD:-1} # Automatically determine the architecture we're building on: @@ -46,11 +44,11 @@ TMP=${TMP:-/tmp} PKG=$TMP/package-perl # Additional required modules: -DBDMYSQL=4.018 -DBI=1.616 -URI=1.58 -XMLPARSER=2.40 -XMLSIMPLE=2.18 +DBDMYSQL=4.021 +DBI=1.622 +URI=1.60 +XMLPARSER=2.41 +XMLSIMPLE=2.20 if [ "$ARCH" = "i386" ]; then SLKCFLAGS="-O2 -march=i386 -mcpu=i686" @@ -119,16 +117,29 @@ fi # Configure perl: ./Configure -de \ -Dprefix=/usr \ + -Dsiteprefix=/usr/local \ + -Dsitelib="/usr/local/share/perl5" \ + -Dsitearch="/usr/local/lib${LIBDIRSUFFIX}/perl5" \ + -Darchlib="/usr/lib${LIBDIRSUFFIX}/perl5" \ -Dvendorprefix=/usr \ + -Dprivlib="/usr/share/perl5" \ + -Dvendorlib="/usr/share/perl5/vendor_perl" \ + -Dvendorarch="/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl" \ + -Dscriptdir='/usr/bin' \ -Dcccdlflags='-fPIC' \ -Dinstallprefix=/usr \ -Dlibpth="/usr/local/lib${LIBDIRSUFFIX} /usr/lib${LIBDIRSUFFIX} /lib${LIBDIRSUFFIX}" \ -Doptimize="$SLKCFLAGS" \ $USE_THREADS \ + -Duseshrplib \ + -Ubincompat5005 \ + -Uversiononly \ -Dpager='/usr/bin/less -isr' \ - -Dinc_version_list='5.12.2 5.12.1 5.12.0 5.10.1 5.10.0 5.8.8 5.8.7 5.8.6 5.8.5 5.8.4 5.8.3 5.8.2 5.8.1 5.8.0' \ -Darchname=$ARCH-linux +# -Duseshrplib creates libperl.so +# -Ubincompat5005 helps create DSO -> libperl.so + # Kludge for gcc-4.2.4's needlessly changed output: cat makefile | grep -v '\' > foo mv foo makefile @@ -146,11 +157,11 @@ make install ln -sf c2ph pstruct ln -sf s2p psed ) -mkdir -p /usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl/${VERSION}/${ARCH}-linux-thread-multi +#mkdir -p /usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl/${VERSION}/${ARCH}-linux-thread-multi # Install perl package: make install DESTDIR=$PKG -mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl/${VERSION}/${ARCH}-linux-thread-multi +#mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl/${VERSION}/${ARCH}-linux-thread-multi # Add additional modules: ( cd ext @@ -237,8 +248,9 @@ mkdir -p $PKG/usr/lib${LIBDIRSUFFIX}/perl5/vendor_perl/${VERSION}/${ARCH}-linux- # Install documentation mkdir -p $PKG/usr/doc/perl-$VERSION cp -a \ - AUTHORS Artistic Changes Copying INSTALL MANIFEST \ - README README.{cn,jp,ko,tw} README.linux \ + AUTHORS Artistic Changes Copying INSTALL \ + README* \ + README.{cn,jp,ko,tw} README.linux \ $PKG/usr/doc/perl-$VERSION # We follow LSB with symlinks in /usr/share: @@ -258,11 +270,10 @@ cp -a \ chmod 755 $PKG/usr/bin/* chmod 644 $PKG/usr/man/man?/* -rmdir $PKG/usr/share # This file shouldn't get clobbered: -if [ -r $PKG/usr/lib${LIBDIRSUFFIX}/perl5/${VERSION}/${ARCH}-linux-thread-multi/perllocal.pod ]; then - mv $PKG/usr/lib${LIBDIRSUFFIX}/perl5/${VERSION}/${ARCH}-linux-thread-multi/perllocal.pod $PKG/usr/lib${LIBDIRSUFFIX}/perl5/${VERSION}/${ARCH}-linux-thread-multi/perllocal.pod.new +if [ -r $PKG/usr/lib${LIBDIRSUFFIX}/perl5/perllocal.pod ]; then + mv $PKG/usr/lib${LIBDIRSUFFIX}/perl5/perllocal.pod $PKG/usr/lib${LIBDIRSUFFIX}/perl5/perllocal.pod.new fi # Insert the slack-desc: @@ -284,7 +295,7 @@ config() { fi # Otherwise, we leave the .new copy for the admin to consider... } -config usr/lib/perl5/${VERSION}/i486-linux-thread-multi/perllocal.pod.new +config usr/lib/perl5/perllocal.pod.new EOF # Build the package: -- cgit v1.2.3