From owner-svn-ports-head@FreeBSD.ORG Sun Mar 9 16:59:34 2014 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 40419993; Sun, 9 Mar 2014 16:59:34 +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)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 1399ADC1; Sun, 9 Mar 2014 16:59:34 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s29GxXgW051734; Sun, 9 Mar 2014 16:59:33 GMT (envelope-from ohauer@svn.freebsd.org) Received: (from ohauer@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s29GxXOD051732; Sun, 9 Mar 2014 16:59:33 GMT (envelope-from ohauer@svn.freebsd.org) Message-Id: <201403091659.s29GxXOD051732@svn.freebsd.org> From: Olli Hauer Date: Sun, 9 Mar 2014 16:59:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r347665 - in head/www/mod_auth_kerb2: . files 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.17 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, 09 Mar 2014 16:59:34 -0000 Author: ohauer Date: Sun Mar 9 16:59:33 2014 New Revision: 347665 URL: http://svnweb.freebsd.org/changeset/ports/347665 QAT: https://qat.redports.org/buildarchive/r347665/ Log: - add stage support Modified: head/www/mod_auth_kerb2/Makefile head/www/mod_auth_kerb2/files/patch-Makefile.in Modified: head/www/mod_auth_kerb2/Makefile ============================================================================== --- head/www/mod_auth_kerb2/Makefile Sun Mar 9 16:58:57 2014 (r347664) +++ head/www/mod_auth_kerb2/Makefile Sun Mar 9 16:59:33 2014 (r347665) @@ -12,9 +12,8 @@ PKGNAMESUFFIX= 2 MAINTAINER= apache@FreeBSD.org COMMENT= Apache module for authenticating users with Kerberos v5 -NO_STAGE= yes USE_APACHE= 22 -USE_GMAKE= yes +USES= gmake GNU_CONFIGURE= yes PORTSCOUT= limit:^5.4 @@ -37,4 +36,11 @@ LIB_DEPENDS+= libgssapi_krb5.so:${PORTS CONFIGURE_ARGS+= --with-krb5=${LOCALBASE} --without-krb4 .endif +post-patch: + ${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' \ + ${WRKSRC}/Makefile.in + +pre-install: + @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} + .include Modified: head/www/mod_auth_kerb2/files/patch-Makefile.in ============================================================================== --- head/www/mod_auth_kerb2/files/patch-Makefile.in Sun Mar 9 16:58:57 2014 (r347664) +++ head/www/mod_auth_kerb2/files/patch-Makefile.in Sun Mar 9 16:59:33 2014 (r347665) @@ -1,19 +1,20 @@ ---- ./Makefile.in.orig 2008-12-02 09:07:10.000000000 -0500 -+++ ./Makefile.in 2012-11-28 09:50:58.000000000 -0500 -@@ -1,6 +1,6 @@ +--- ./Makefile.in.orig 2008-12-02 15:07:10.000000000 +0100 ++++ ./Makefile.in 2014-03-09 17:54:19.000000000 +0100 +@@ -1,6 +1,7 @@ APXS = @APXS@ ++APXS_STAGE= @APXS_STAGE@ KRB5_CPPFLAGS = @KRB5_CPPFLAGS@ -KRB5_LDFLAGS = @KRB5_LDFLAGS@ +KRB5_LDFLAGS = @KRB5_LDFLAGS@ -lgssapi_krb5 KRB4_CPPFLAGS = @KRB4_CPPFLAGS@ KRB4_LDFLAGS = @KRB4_LDFLAGS@ LIB_resolv = @LIB_resolv@ -@@ -16,7 +16,7 @@ +@@ -16,7 +17,7 @@ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c" "src/mod_auth_kerb.c" install: - ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c -i" "src/mod_auth_kerb.c" -+ ./apxs.sh "${CPPFLAGS}" "${LDFLAGS}" "${SPNEGO_SRCS}" "${APXS}" "-c -i -a" "src/mod_auth_kerb.c" ++ ${APXS} $(APXS_STAGE) -i -n auth_kerb src/mod_auth_kerb.la clean: for i in . src spnegokrb5; do \