From owner-svn-ports-all@FreeBSD.ORG Fri Jul 25 14:16:51 2014 Return-Path: Delivered-To: svn-ports-all@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 37A60AA7; Fri, 25 Jul 2014 14:16:51 +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 0ADC0264E; Fri, 25 Jul 2014 14:16:51 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.8/8.14.8) with ESMTP id s6PEGoRD068213; Fri, 25 Jul 2014 14:16:50 GMT (envelope-from des@svn.freebsd.org) Received: (from des@localhost) by svn.freebsd.org (8.14.8/8.14.8/Submit) id s6PEGoJm068211; Fri, 25 Jul 2014 14:16:50 GMT (envelope-from des@svn.freebsd.org) Message-Id: <201407251416.s6PEGoJm068211@svn.freebsd.org> From: Dag-Erling Smørgrav Date: Fri, 25 Jul 2014 14:16:50 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r362912 - in head/www/mod_dnssd: . 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-all@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Jul 2014 14:16:51 -0000 Author: des Date: Fri Jul 25 14:16:50 2014 New Revision: 362912 URL: http://svnweb.freebsd.org/changeset/ports/362912 QAT: https://qat.redports.org/buildarchive/r362912/ Log: Stagify, implement the DOCS option correctly, and enable Apache 2.4. Modified: head/www/mod_dnssd/Makefile head/www/mod_dnssd/files/patch-src_Makefile.in Modified: head/www/mod_dnssd/Makefile ============================================================================== --- head/www/mod_dnssd/Makefile Fri Jul 25 14:15:55 2014 (r362911) +++ head/www/mod_dnssd/Makefile Fri Jul 25 14:16:50 2014 (r362912) @@ -3,7 +3,7 @@ PORTNAME= mod_dnssd PORTVERSION= 0.6 -PORTREVISION= 8 +PORTREVISION= 9 CATEGORIES= www MASTER_SITES= http://0pointer.de/lennart/projects/mod_dnssd/ PKGNAMEPREFIX= ${APACHE_PKGNAMEPREFIX} @@ -14,7 +14,7 @@ COMMENT= An Apache module that provides LIB_DEPENDS= libavahi-client.so:${PORTSDIR}/net/avahi-app USES= gmake pkgconfig -USE_APACHE= 22 +USE_APACHE= 22+ GNU_CONFIGURE= yes CONFIGURE_ENV= APR_CFLAGS="`${LOCALBASE}/bin/apr-1-config --cflags --cppflags --includes`" \ APR_LIBS="`${LOCALBASE}/bin/apr-1-config --ldflags`" @@ -22,11 +22,16 @@ CPPFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib CONFIGURE_ARGS= --disable-lynx -NO_STAGE= yes +OPTIONS_DEFINE= DOCS + +post-configure: + ${REINPLACE_CMD} -e 's|@APXS_STAGE@|-S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR}|' ${WRKSRC}/src/Makefile + +pre-install: + ${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR} + post-install: -.if !defined(NOPORTDOCS) - ${MKDIR} ${DOCSDIR}/ - ${INSTALL_DATA} ${WRKSRC}/doc/README ${DOCSDIR}/README -.endif + ${MKDIR} ${STAGEDIR}${DOCSDIR}/ + ${INSTALL_DATA} ${WRKSRC}/doc/README ${STAGEDIR}${DOCSDIR}/README .include Modified: head/www/mod_dnssd/files/patch-src_Makefile.in ============================================================================== --- head/www/mod_dnssd/files/patch-src_Makefile.in Fri Jul 25 14:15:55 2014 (r362911) +++ head/www/mod_dnssd/files/patch-src_Makefile.in Fri Jul 25 14:16:50 2014 (r362912) @@ -1,8 +1,10 @@ ---- src/Makefile.in.orig 2009-02-27 17:10:12.000000000 -0500 -+++ src/Makefile.in 2009-02-27 17:10:21.000000000 -0500 -@@ -16,8 +16,8 @@ +--- src/Makefile.in.orig 2009-01-22 17:42:02.000000000 +0100 ++++ src/Makefile.in 2014-07-25 15:51:40.137601137 +0200 +@@ -15,9 +15,10 @@ + # permissions and limitations under the License. APXS=@APXS@ ++APXS_STAGE=@APXS_STAGE@ APACHECTL=@APACHECTL@ -LIBS=-Wl,"@LIBS@" @AVAHI_LIBS@ -CFLAGS=-Wc,"@CFLAGS@" @AVAHI_CFLAGS@ @@ -11,3 +13,12 @@ all: mod_dnssd.la +@@ -25,7 +26,7 @@ + $(APXS) -c $(CFLAGS) $(LIBS) @srcdir@/mod_dnssd.c + + install: all +- $(APXS) -i -a mod_dnssd.la ++ $(APXS) $(APXS_STAGE) -i -a mod_dnssd.la + + clean: + rm -rf *.o *.so *.loT .deps/ *.la *.lo *.slo .libs/