diff --git a/www/mod_auth_any/Makefile b/www/mod_auth_any/Makefile index abaae7f1ef0c..26b884ca97c9 100644 --- a/www/mod_auth_any/Makefile +++ b/www/mod_auth_any/Makefile @@ -13,18 +13,15 @@ MASTER_SITES= http://www.itlab.musc.edu/webNIS/dist/ MAINTAINER= apache@FreeBSD.org COMMENT= Apache module to use any command line program to authenticate a user +USE_APACHE= 13+ AP_FAST_BUILD= yes AP_GENPLIST= yes WRKSRC= ${WRKDIR}/${PORTNAME}/src .include -.if exists(${LOCALBASE}/include/apache2/http_core.h) || defined(WITH_APACHE2) -WANT_APACHE= 2 -# Dirty hack -AP_INC+= . -DWITH_APACHE2=1 -.else -WANT_APACHE= 13 + +.if ${APACHE_VERSION} >= 20 +AP_EXTRAS+= -DWITH_APACHE2=1 .endif -.include "${PORTSDIR}/www/apache20/Makefile.modules.3rd" .include diff --git a/www/mod_auth_any/distinfo b/www/mod_auth_any/distinfo index 931bd76ec852..68b172093c70 100644 --- a/www/mod_auth_any/distinfo +++ b/www/mod_auth_any/distinfo @@ -1,2 +1,3 @@ MD5 (mod_auth_any-1.5.tar.gz) = a78780db253dd2dc33138f8b644423d2 +SHA256 (mod_auth_any-1.5.tar.gz) = 0c24f8f454ba18d7df5d51bac9f3a62088154f9dbb6466545e51e3c155e51a44 SIZE (mod_auth_any-1.5.tar.gz) = 10697