Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Feb 2014 19:31:07 +0000 (UTC)
From:      Steve Wills <swills@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r344298 - in head/www: mod_wsgi2 mod_wsgi3
Message-ID:  <201402141931.s1EJV7uT096762@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: swills
Date: Fri Feb 14 19:31:07 2014
New Revision: 344298
URL: http://svnweb.freebsd.org/changeset/ports/344298
QAT: https://qat.redports.org/buildarchive/r344298/

Log:
  - 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 <douglas@douglasthrift.net> (maintainer)

Modified:
  head/www/mod_wsgi2/Makefile
  head/www/mod_wsgi3/Makefile

Modified: head/www/mod_wsgi2/Makefile
==============================================================================
--- head/www/mod_wsgi2/Makefile	Fri Feb 14 19:22:27 2014	(r344297)
+++ head/www/mod_wsgi2/Makefile	Fri Feb 14 19:31:07 2014	(r344298)
@@ -37,6 +37,8 @@ pre-everything::
 	@${ECHO_MSG} "========================================================="
 
 post-install:
+.if !defined(PACKAGE_BUILDING)
 	@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
+.endif
 
 .include <bsd.port.mk>

Modified: head/www/mod_wsgi3/Makefile
==============================================================================
--- head/www/mod_wsgi3/Makefile	Fri Feb 14 19:22:27 2014	(r344297)
+++ head/www/mod_wsgi3/Makefile	Fri Feb 14 19:31:07 2014	(r344298)
@@ -35,6 +35,8 @@ pre-everything::
 	@${ECHO_MSG} "========================================================="
 
 post-install:
+.if !defined(PACKAGE_BUILDING)
 	@${APXS} -e -a -n "${SHORTMODNAME}" "${APACHEMODDIR}/${MODULENAME}.so"
+.endif
 
 .include <bsd.port.mk>



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