- 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)
This commit is contained in:
Steve Wills 2014-02-14 19:31:07 +00:00
parent 7506792ac9
commit ebbf66b273
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=344298
2 changed files with 4 additions and 0 deletions

View File

@ -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>

View File

@ -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>