aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2013-11-11 07:05:35 +0800
committerohauer <ohauer@FreeBSD.org>2013-11-11 07:05:35 +0800
commit59e5bf74a07c7699fcec2c0d80cd344270c89814 (patch)
tree42479511c59006b7d9161fab5c91a5d483e7ba32 /Mk
parenta656dd147816eaf5f868ac42e9c2d1303ee45f94 (diff)
downloadfreebsd-ports-gnome-59e5bf74a07c7699fcec2c0d80cd344270c89814.tar.gz
freebsd-ports-gnome-59e5bf74a07c7699fcec2c0d80cd344270c89814.tar.zst
freebsd-ports-gnome-59e5bf74a07c7699fcec2c0d80cd344270c89814.zip
- support STAGE for ports using AP_FAST_BUILD
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.apache.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/Mk/bsd.apache.mk b/Mk/bsd.apache.mk
index 245cc9ab77b0..aba1fb2cd239 100644
--- a/Mk/bsd.apache.mk
+++ b/Mk/bsd.apache.mk
@@ -477,7 +477,12 @@ do-build: ap-gen-plist
.if !target(do-install)
do-install:
+. if defined(NO_STAGE)
@${APXS} -i ${AP_MOD_EN} -n ${SHORTMODNAME} ${WRKSRC}/${MODULENAME}.${AP_BUILDEXT}
+. else
+ @${MKDIR} ${STAGEDIR}${PREFIX}/${APACHEMODDIR}
+ @${APXS} -S LIBEXECDIR=${STAGEDIR}${PREFIX}/${APACHEMODDIR} -i -n ${SHORTMODNAME} ${WRKSRC}/${MODULENAME}.${AP_BUILDEXT}
+. endif
.endif
.endif # defined(AP_FAST_BUILD)
.endif # defined(AP_PORT_IS_MODULE)