[arch-commits] Commit in perl/trunk (PKGBUILD)

François Charette francois at archlinux.org
Wed Sep 30 18:03:55 UTC 2009


    Date: Wednesday, September 30, 2009 @ 14:03:54
  Author: francois
Revision: 53370

upgpkg: perl 5.10.1-3
    new build, now with dynamic libperl

Modified:
  perl/trunk/PKGBUILD

----------+
 PKGBUILD |   23 ++---------------------
 1 file changed, 2 insertions(+), 21 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2009-09-30 17:59:56 UTC (rev 53369)
+++ PKGBUILD	2009-09-30 18:03:54 UTC (rev 53370)
@@ -4,7 +4,7 @@
 # Contributor: francois <francois.archlinux.org> 
 pkgname=perl
 pkgver=5.10.1
-pkgrel=2
+pkgrel=3
 pkgdesc="Practical Extraction and Report Language"
 arch=(i686 x86_64)
 license=('GPL' 'PerlArtistic')
@@ -141,7 +141,7 @@
     # for i686
     arch_opts=""
   fi
-  ./Configure -des -Dusethreads -Doptimize="${CFLAGS}" -Dprefix=/usr \
+  ./Configure -des -Dusethreads -Duseshrplib -Doptimize="${CFLAGS}" -Dprefix=/usr \
     -Dinstallprefix=${pkgdir}/usr -Dvendorprefix=/usr \
     -Dprivlib=/usr/share/perl5/core_perl \
     -Darchlib=/usr/lib/perl5/core_perl \
@@ -158,25 +158,6 @@
   make || return 1
   make install
 
-  ### Now we build and manually install the libperl.so 
-  make distclean
-  ./Configure -des -Dusethreads -Duseshrplib -Doptimize="${CFLAGS}" -Dprefix=/usr \
-    -Dinstallprefix=${pkgdir}/usr -Dvendorprefix=/usr \
-    -Dprivlib=/usr/share/perl5/core_perl \
-    -Darchlib=/usr/lib/perl5/core_perl \
-    -Dsitelib=/usr/share/perl5/site_perl/${pkgver} \
-    -Dsitearch=/usr/lib/perl5/site_perl/${pkgver} \
-    -Dvendorlib=/usr/share/perl5/vendor_perl \
-    -Dvendorarch=/usr/lib/perl5/vendor_perl \
-    -Dotherlibdirs=/usr/lib/perl5/current:/usr/lib/perl5/site_perl/current \
-    -Dscriptdir='/usr/bin/perlbin/core' \
-    -Dsitescript='/usr/bin/perlbin/site' \
-    -Dvendorscript='/usr/bin/perlbin/vendor' \
-    -Dman1ext=1perl -Dman3ext=3perl ${arch_opts}
-
-  make || return 1
-  install -D -m755 libperl.so $pkgdir/usr/lib/
-
   ### Perl Settings ###
   # Change man page extensions for site and vendor module builds.
   sed -e '/^man1ext=/ s/1perl/1p/' -e '/^man3ext=/ s/3perl/3pm/' \




More information about the arch-commits mailing list