wok-next diff apache-mod-perl/receipt @ rev 15367

Add wimlib
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 12 12:04:33 2013 +0000 (2013-10-12)
parents 191b99ca9dc2
children efe4d0b688a9
line diff
     1.1 --- a/apache-mod-perl/receipt	Wed Oct 02 10:41:05 2013 +0000
     1.2 +++ b/apache-mod-perl/receipt	Sat Oct 12 12:04:33 2013 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="apache-mod-perl"
     1.7 -VERSION="2.0.5"
     1.8 +VERSION="2.0.7"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="PERL module for Apache"
    1.11  MAINTAINER="erjo@slitaz.org"
    1.12 @@ -18,8 +18,11 @@
    1.13  compile_rules()
    1.14  {
    1.15  	cd $src
    1.16 -	perl Makefile.PL MP_APXS=/usr/bin/apxs && \
    1.17 -	make && \
    1.18 +	sed -i 's/c->remote_ip/r->useragent_ip/' \
    1.19 +		src/modules/perl/modperl_interp.c
    1.20 +	perl Makefile.PL MP_APXS=/usr/bin/apxs \
    1.21 +			 MP_APR_CONFIG=/usr/bin/apr-1-config &&
    1.22 +	make &&
    1.23  	make DESTDIR=$DESTDIR install
    1.24  }
    1.25