diff options
Diffstat (limited to 'testing/perl-libapreq2')
-rw-r--r-- | testing/perl-libapreq2/APKBUILD | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/testing/perl-libapreq2/APKBUILD b/testing/perl-libapreq2/APKBUILD index 9a0003dc25..bd2e723de0 100644 --- a/testing/perl-libapreq2/APKBUILD +++ b/testing/perl-libapreq2/APKBUILD @@ -6,13 +6,13 @@ pkgver=2.13 pkgrel=0 pkgdesc="Perl module for libapreq2" url="http://search.cpan.org/dist/libapreq2/" -arch="all" +#arch="all" license="GPL PerlArtistic" cpandepends="" cpanmakedepends="" depends="$cpandepends" subpackages="$pkgname-doc $pkgname-dev" -makedepends="perl-extutils-xsbuilder libtool" +makedepends="perl-extutils-xsbuilder libtool apache2-dev" source="http://search.cpan.org/CPAN/authors/id/I/IS/ISAAC/$_pkgreal-$pkgver.tar.gz libapreq2-2.08-doc.patch" _builddir="$srcdir/$_pkgreal-$pkgver" @@ -29,8 +29,12 @@ prepare() { build() { cd $_builddir - PERL_MM_USE_DEFAULT=1 perl Makefile.PL --with-apache2-apxs=/usr/bin/apxs \ - --enable-perl-glue +# PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor \ + ./configure --with-perl-opts="INSTALLDIRS=vendor" \ + --with-apache2-apxs=/usr/bin/apxs \ + --with-apache2-httpd=/usr/sbin/httpd \ + --enable-perl-glue + make || return 1 } |