Commits

Marius Schamschula authored 7d7f6003161
mod_antispam: mark apache22 variant as obsolete

See: https://trac.macports.org/ticket/58404
No tags

www/mod_antispam/Portfile

Modified
14 14 homepage https://web.archive.org/web/20081008131724/http://bluecoara.net:80/item44/cat9.html
15 15 master_sites https://web.archive.org/web/20081015053433/http://bluecoara.net/download/mod_antispam/
16 16 checksums md5 d0903fc10c48927cd00fe041ab888136
17 17
18 18 depends_lib port:apache2
19 19
20 20 patchfiles apache_versions.diff
21 21
22 22 use_configure no
23 23
24 -if {[variant_isset apache22]} {
25 - set apxs ${prefix}/apache22/bin/apxs
26 - set mdir ${destroot}${prefix}/apache22/modules/
27 -} else {
28 - set apxs ${prefix}/bin/apxs
29 - set mdir ${destroot}${prefix}/lib/apache2/modules/
30 -}
24 +set apxs ${prefix}/bin/apxs
25 +set mdir ${destroot}${prefix}/lib/apache2/modules/
31 26
32 27 variant apache22 description "use apache22 instead of apache2" {
33 - depends_lib-replace port:apache2 port:apache22
34 - destroot.violate_mtree yes
28 + # remove after 2020-05-03
29 + ui_error "Please do not install this variant since Apache 2.2 is obsolete."
30 + return -code error
35 31 }
36 32
37 33 build.cmd ${apxs}
38 34 build.target {}
39 35 build.args -c -o mod_antispam.so mod_antispam.c
40 36
41 37 destroot {
42 38 xinstall -m 755 -d ${mdir} \
43 39 ${destroot}${prefix}/share/doc/${name}
44 40 xinstall -m 644 ${worksrcpath}/.libs/mod_antispam.so \

Everything looks good. We'll let you know here if there's anything you should know about.

Add shortcut