Ticket #46749: mod_perl2-with-perl-variants.Portfile.diff
File mod_perl2-with-perl-variants.Portfile.diff, 1.1 KB (added by mojca (Mojca Miklavec), 10 years ago) |
---|
-
Portfile
2 2 # $Id$ 3 3 4 4 PortSystem 1.0 5 PortGroup perl5 1.0 5 6 6 7 name mod_perl2 7 8 version 2.0.8 … … 31 32 checksums rmd160 5863f229c1fe982852f05bf5c1af5d28dae28b7f \ 32 33 sha256 35dc1b7a40a90a395ce88bba2df84f22289975f34d1757de6d715560c20a20e6 33 34 34 depends_lib path:bin/perl:perl5 port:apache2 35 perl5.require_variant yes 36 perl5.conflict_variants yes 37 perl5.branches 5.16 5.18 5.20 38 perl5.create_variants ${perl5.branches} 39 40 depends_lib port:apache2 \ 41 port:perl${perl5.major} 35 42 worksrcdir mod_perl-${version} 36 43 37 44 if {[string match *clang* ${configure.compiler}]} { … … 41 48 set APXS ${prefix}/apache2/bin/apxs 42 49 43 50 configure { 44 system -W ${worksrcpath} "${p refix}/bin/perlMakefile.PL MP_APXS=${APXS}"51 system -W ${worksrcpath} "${perl5.bin} Makefile.PL MP_APXS=${APXS}" 45 52 } 46 53 47 54 destroot.violate_mtree yes