[Frugalware-git] frugalware-current: perl-5.10.1-4-x86_64

Miklos Vajna vmiklos at frugalware.org
Wed Jan 20 14:59:52 CET 2010


Git-Url: http://git.frugalware.org/gitweb/gitweb.cgi?p=frugalware-current.git;a=commitdiff;h=30c70049416b3bc2bc5d5703f0e49bbd22fb0d88

commit 30c70049416b3bc2bc5d5703f0e49bbd22fb0d88
Author: Miklos Vajna <vmiklos at frugalware.org>
Date:   Wed Jan 20 14:59:10 2010 +0100

perl-5.10.1-4-x86_64

- fPIC change, fixes the claws-mail-extra-plugins build

diff --git a/source/base/perl/FrugalBuild b/source/base/perl/FrugalBuild
index cc65288..b6a321f 100644
--- a/source/base/perl/FrugalBuild
+++ b/source/base/perl/FrugalBuild
@@ -4,7 +4,7 @@

pkgname=perl
pkgver=5.10.1
-pkgrel=3
+pkgrel=4
pkgdesc="Practical Extraction and Report Language."
url="http://www.perl.org/"
depends=('gdbm>=1.8.3-5' 'db>=4.7.25-2')
@@ -23,9 +23,10 @@ build() {
unset MAKEFLAGS
Fcd
Fpatchall
+	[ "$CARCH" == "x86_64" ] && export CFLAGS="$CFLAGS -fPIC"
./Configure -de -Dprefix=/usr -Dinstallprefix=${Fdestdir}/usr \
-Dman1dir=/usr/share/man/man1 -Dman3dir=/usr/share/man/man3 \
-		-Dcccdlflags='-fPIC' -Doptimize="$CFLAGS" -Dusethreads
+		-Doptimize="$CFLAGS" -Dusethreads

make || Fdie


More information about the Frugalware-git mailing list