summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authorClement Laforet <clement@FreeBSD.org>2004-08-08 09:35:18 +0000
committerClement Laforet <clement@FreeBSD.org>2004-08-08 09:35:18 +0000
commitb9fadce3134ae6690f9a4d8a05767575ab8f43bd (patch)
tree3fb25e6c9fbfca623f9da5c4482736a55078741b /www
parent- Remove useless PHP modules dependencies. (diff)
- Update to 1.4
Now mod_auth_any works with apache2!
Notes
Notes: svn path=/head/; revision=115617
Diffstat (limited to 'www')
-rw-r--r--www/mod_auth_any/Makefile11
-rw-r--r--www/mod_auth_any/distinfo4
2 files changed, 11 insertions, 4 deletions
diff --git a/www/mod_auth_any/Makefile b/www/mod_auth_any/Makefile
index c563226b9619..c0d5099ba631 100644
--- a/www/mod_auth_any/Makefile
+++ b/www/mod_auth_any/Makefile
@@ -6,18 +6,25 @@
#
PORTNAME= mod_auth_any
-PORTVERSION= 1.3.2
+PORTVERSION= 1.4
CATEGORIES= www
MASTER_SITES= http://www.itlab.musc.edu/webNIS/dist/
MAINTAINER= clement@FreeBSD.org
COMMENT= Apache module to use any command line program to authenticate a user
-WANT_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
+.endif
+
.include "${PORTSDIR}/www/apache2/Makefile.modules.3rd"
.include <bsd.port.post.mk>
diff --git a/www/mod_auth_any/distinfo b/www/mod_auth_any/distinfo
index 6fb133736555..c623df2dfab7 100644
--- a/www/mod_auth_any/distinfo
+++ b/www/mod_auth_any/distinfo
@@ -1,2 +1,2 @@
-MD5 (mod_auth_any-1.3.2.tar.gz) = ae9ac533576915a05e9728e914c4ec88
-SIZE (mod_auth_any-1.3.2.tar.gz) = 8565
+MD5 (mod_auth_any-1.4.tar.gz) = 73e2aef19a126b77190e59b20486c8d9
+SIZE (mod_auth_any-1.4.tar.gz) = 21917