Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 10 Nov 2013 23:05:36 +0000 (UTC)
From:      Olli Hauer <ohauer@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r333452 - head/Mk
Message-ID:  <201311102305.rAAN5a3S079729@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ohauer
Date: Sun Nov 10 23:05:35 2013
New Revision: 333452
URL: http://svnweb.freebsd.org/changeset/ports/333452

Log:
  - support STAGE for ports using AP_FAST_BUILD

Modified:
  head/Mk/bsd.apache.mk

Modified: head/Mk/bsd.apache.mk
==============================================================================
--- head/Mk/bsd.apache.mk	Sun Nov 10 22:30:30 2013	(r333451)
+++ head/Mk/bsd.apache.mk	Sun Nov 10 23:05:35 2013	(r333452)
@@ -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)



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