Skip to content
Permalink
Browse files

updated mod_perl to 1.29, and to work with 5.8.1 (which it requires, …

…in prefix/bin)

git-svn-id: https://svn.macports.org/repository/macports/trunk/dports@3845 d073be05-634f-4543-b044-5fe20cf6d1d6
  • Loading branch information
Michael Maibaum
Michael Maibaum committed Oct 29, 2003
1 parent 603327d commit 0abd8401aaef507f0ee1a7cfefe3526ddd4c5b4b
Showing with 8 additions and 13 deletions.
  1. +8 −13 www/apache/Portfile
@@ -1,8 +1,9 @@
# $Id: Portfile,v 1.34 2003/10/29 12:15:20 michaelm Exp $
# $Id: Portfile,v 1.35 2003/10/29 13:01:50 michaelm Exp $

PortSystem 1.0
name apache
version 1.3.29
revision 1
categories www
platforms darwin freebsd
maintainers michaelm@opendarwin.org
@@ -69,13 +70,13 @@ variant mod_perl {
http://mirrors.ccs.neu.edu/Apache/dist/perl/:perl

distname ${name}_${version}
distfiles-append mod_perl-1.27${extract.sufx}:perl
extract.only ${distname}${extract.sufx} mod_perl-1.27${extract.sufx}
distfiles-append mod_perl-1.29${extract.sufx}:perl
extract.only ${distname}${extract.sufx} mod_perl-1.29${extract.sufx}

checksums-append mod_perl-1.27${extract.sufx} md5 bd07f4f1065eb0d0a8d8004219357d8c
checksums-append mod_perl-1.29${extract.sufx} md5 1491931790509b9af06fc037d02b0e7a

depends_lib bin:perl5\.8\..:perl5.8
worksrcdir mod_perl-1.27
depends_lib bin:${prefix}/perl5\.8\.1:perl5.8
worksrcdir mod_perl-1.29

configure.pre_args

@@ -96,12 +97,6 @@ variant mod_perl {
}


destroot.args PREFIX=${destroot}${prefix}/apache INSTALLPRIVLIB=${destroot}${prefix}/lib/perl5/5.8.0 \
INSTALLSITELIB=${destroot}${prefix}/lib/perl5/site_perl/5.8.0 \
INSTALLARCHLIB=${destroot}${prefix}/lib/perl5/5.8.0/darwin \
INSTALLSITEARCH=${destroot}${prefix}/lib/perl5/site_perl/5.8.0/darwin \
root=${destroot}

}

post-destroot {
@@ -129,7 +124,7 @@ post-destroot {
}

if { [variant_isset mod_perl]} {
cd ${destroot}${prefix}/lib/perl5/site_perl/5.8.0/darwin/auto/mod_perl/
cd ${destroot}${prefix}/lib/perl5/site_perl/5.8.1/darwin-2level/auto/mod_perl/
system "cat .packlist | sed s#${destroot}/##g >.packlist.new"
system "mv .packlist.new .packlist"
}

0 comments on commit 0abd840

Please sign in to comment.
You can’t perform that action at this time.