From fd115d7057eb8243df6edfaf1ed440d6f3e70692 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 30 Nov 2011 23:15:09 +0000 Subject: Wed Nov 30 23:15:09 UTC 2011 --- core/perl/PKGBUILD | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'core/perl') diff --git a/core/perl/PKGBUILD b/core/perl/PKGBUILD index 46ca72ef2..91a2e33d5 100644 --- a/core/perl/PKGBUILD +++ b/core/perl/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 139103 2011-09-29 12:44:13Z angvp $ +# $Id: PKGBUILD 143804 2011-11-29 13:33:00Z stephane $ # Maintainer: Angel Velasquez # Contributor: kevin # Contributor: judd # Contributor: francois pkgname=perl pkgver=5.14.2 -pkgrel=2 +pkgrel=4 pkgdesc="A highly capable, feature-rich programming language" arch=(i686 x86_64) license=('GPL' 'PerlArtistic') @@ -36,6 +36,10 @@ build() { # for i686 arch_opts="" fi + + # remove rpath FS#27173 + sed -i 's#xxx="-Wl,-rpath,$shrpdir"##' Configure + ./Configure -des -Dusethreads -Duseshrplib -Doptimize="${CFLAGS}" \ -Dprefix=/usr -Dinstallprefix=${pkgdir}/usr -Dvendorprefix=/usr \ -Dprivlib=/usr/share/perl5/core_perl \ @@ -53,6 +57,12 @@ build() { patch -Np1 -i $srcdir/0001-Append-CFLAGS-and-LDFLAGS-to-their-Config.pm-counter.patch make } + +check() { + cd ${srcdir}/${pkgname}-${pkgver} + make test +} + package() { # hack to work around makepkg running the subshell in check_sanity() new_provides=($(cd "$srcdir/perl-$pkgver"; LD_PRELOAD=./libperl.so ./perl -Ilib "$srcdir/provides.pl" .)) -- cgit v1.2.3-54-g00ecf