summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2005-12-04 16:16:17 +0000
committerClement Laforet <clement@FreeBSD.org>2005-12-04 16:16:17 +0000
commitf1ed3c8d8880ff4fd77e6c83e1d594a2ead32ba7 (patch)
treea522e9ee06e53e5f0938ac03e7de3b5a1144f55c /www
parentUpdate to 0.50. (diff)
- Convert to new USE_APACHE
- Add SHA256
Notes
Notes: svn path=/head/; revision=150388
Diffstat (limited to 'www')
-rw-r--r--www/mod_auth_any/Makefile11
-rw-r--r--www/mod_auth_any/distinfo1
2 files changed, 5 insertions, 7 deletions
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 <bsd.port.pre.mk>
-.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 <bsd.port.post.mk>
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