Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 27 Jul 2014 00:49:32 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r363002 - head/www/mod_auth_pubtkt
Message-ID:  <201407270049.s6R0nWMV064188@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201407270049.s6R0nWMV064188>