From 21245ebc344e65cb2bf3dd0468e86c18c0b0c782 Mon Sep 17 00:00:00 2001 From: Natanael Copa Date: Fri, 24 Jul 2009 17:25:17 +0000 Subject: various: misc build fixes --- main/perl/APKBUILD | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'main/perl') diff --git a/main/perl/APKBUILD b/main/perl/APKBUILD index 656e09ca5f..fec034e538 100644 --- a/main/perl/APKBUILD +++ b/main/perl/APKBUILD @@ -1,12 +1,12 @@ +# Maintainer: Natanael Copa pkgname=perl pkgver=5.10.0 -pkgrel=0 +pkgrel=1 pkgdesc="Larry Wall's Practical Extraction and Report Language" url=http://www.perl.org license="Artistic GPL-2" source=http://www.perl.com/CPAN/src/perl-${pkgver}.tar.gz -depends=uclibc - +depends= subpackages="$pkgname-dev $pkgname-doc miniperl" build() { @@ -15,14 +15,19 @@ build() { -Dcccdlflags='-fPIC' \ -Dcccdlflags='-fPIC' \ -Dccdlflags='-rdynamic' \ - -Dprefix='/usr' \ - -Dvendorprefix='/usr' \ - -Dsiteprefix='/usr' \ + -Dprefix=/usr \ + -Dprivlib=/usr/share/perl5/core_perl \ + -Darchlib=/usr/lib/perl5/core_perl \ + -Dvendorprefix=/usr \ + -Dvendorlib=/usr/share/perl5/vendor_perl \ + -Dvendorarch=/usr/lib/perl5/vendor_perl \ + -Dsiteprefix=/usr/local \ + -Dsitelib=/usr/local/share/perl5/site_perl \ + -Dsitearch=/usr/local/lib/perl5/site_perl \ -Dlocincpth=' ' \ -Doptimize="${CFLAGS}" \ -Duselargefiles \ -Dd_semctl_semun \ - -Dscriptdir=/usr/bin \ -Dman1dir=/usr/share/man/man1 \ -Dman3dir=/usr/share/man/man3 \ -Dinstallman1dir=/usr/share/man/man1 \ @@ -34,6 +39,7 @@ build() { -Ud_csh \ -Dusenm \ || return 1 +# -Dscriptdir=/usr/bin \ make make install DESTDIR="$pkgdir" -- cgit v1.2.3