svn commit: r363002 - head/www/mod_auth_pubtkt
John Marino
marino at FreeBSD.org
Sun Jul 27 00:49:32 UTC 2014
Author: marino
Date: Sun Jul 27 00:49:31 2014
New Revision: 363002
URL: http://svnweb.freebsd.org/changeset/ports/363002
QAT: https://qat.redports.org/buildarchive/r363002/
Log:
www/mod_auth_pubtkt: Fix build with Apache 2.4
PR: 191942
Submitted by: maintainer (Manuel Kasper)
Modified:
head/www/mod_auth_pubtkt/Makefile
Modified: head/www/mod_auth_pubtkt/Makefile
==============================================================================
--- head/www/mod_auth_pubtkt/Makefile Sun Jul 27 00:40:29 2014 (r363001)
+++ head/www/mod_auth_pubtkt/Makefile Sun Jul 27 00:49:31 2014 (r363002)
@@ -3,6 +3,7 @@
PORTNAME= mod_auth_pubtkt
PORTVERSION= 0.8
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= https://neon1.net/mod_auth_pubtkt/
PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX}
@@ -14,7 +15,14 @@ COMMENT= An Apache module to provide pub
USE_APACHE= 22+
AP_FAST_BUILD= yes
AP_GENPLIST= yes
-AP_EXTRAS= -DAPACHE22
SRC_FILE= src/mod_auth_pubtkt.c
-.include <bsd.port.mk>
+.include <bsd.port.pre.mk>
+
+.if ${APACHE_VERSION} > 22
+AP_EXTRAS= -DAPACHE24
+.else
+AP_EXTRAS= -DAPACHE22
+.endif
+
+.include <bsd.port.post.mk>
More information about the svn-ports-all
mailing list