From owner-svn-ports-head@FreeBSD.ORG Sun Jul 27 00:49:32 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 651C0FAA; Sun, 27 Jul 2014 00:49:32 +0000 (UTC) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 519BF21E9; Sun, 27 Jul 2014 00:49:32 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6R0nWWY064189; Sun, 27 Jul 2014 00:49:32 GMT (envelope-from marino@svn.freebsd.org) Received: (from marino@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6R0nWMV064188; Sun, 27 Jul 2014 00:49:32 GMT (envelope-from marino@svn.freebsd.org) Message-Id: <201407270049.s6R0nWMV064188@svn.freebsd.org> From: John Marino Date: Sun, 27 Jul 2014 00:49:32 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r363002 - head/www/mod_auth_pubtkt X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 27 Jul 2014 00:49:32 -0000 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 +.include + +.if ${APACHE_VERSION} > 22 +AP_EXTRAS= -DAPACHE24 +.else +AP_EXTRAS= -DAPACHE22 +.endif + +.include