From ebbf66b27312e4bbbeb91a201a109f0f93201541 Mon Sep 17 00:00:00 2001 From: Steve Wills Date: Fri, 14 Feb 2014 19:31:07 +0000 Subject: [PATCH] - Calling apxs when building packages breaks staging checks, so only do it if PACKAGE_BUILDING is not set. PR: ports/186749 Submitted by: swills (myself) Approved by: Douglas Thrift (maintainer) --- www/mod_wsgi2/Makefile | 2 ++ www/mod_wsgi3/Makefile | 2 ++ 2 files changed, 4 insertions(+) diff --git a/www/mod_wsgi2/Makefile b/www/mod_wsgi2/Makefile index d8834788981d..dc3cecb8360b 100644 --- a/www/mod_wsgi2/Makefile +++ b/www/mod_wsgi2/Makefile @@ -37,6 +37,8 @@ pre-everything:: @${ECHO_MSG} "=========================================================" post-install: +.if !defined(PACKAGE_BUILDING) @${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so" +.endif .include diff --git a/www/mod_wsgi3/Makefile b/www/mod_wsgi3/Makefile index ecdfe7ccb014..2d301d56597b 100644 --- a/www/mod_wsgi3/Makefile +++ b/www/mod_wsgi3/Makefile @@ -35,6 +35,8 @@ pre-everything:: @${ECHO_MSG} "=========================================================" post-install: +.if !defined(PACKAGE_BUILDING) @${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so" +.endif .include