summaryrefslogtreecommitdiff
path: root/Mk/bsd.apache.mk
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-06-17 12:42:30 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-06-17 12:42:30 +0000
commit12ddc1796c4e2002af6a99b53c09c16b6bbf0ae3 (patch)
tree8f95e0d29536276777e5c8d03bc6210ea396c087 /Mk/bsd.apache.mk
parentdevel/rubygem-licensee: Update from 8.0.0 to 8.2.0 (diff)
Remove DO_NADA targets.
No need to have make(1) compute a target order graph for targets that are empty. Sponsored by: Absolight
Notes
Notes: svn path=/head/; revision=417004
Diffstat (limited to 'Mk/bsd.apache.mk')
-rw-r--r--Mk/bsd.apache.mk5
1 files changed, 2 insertions, 3 deletions
diff --git a/Mk/bsd.apache.mk b/Mk/bsd.apache.mk
index 041b91329876..ced4fc792d53 100644
--- a/Mk/bsd.apache.mk
+++ b/Mk/bsd.apache.mk
@@ -487,6 +487,7 @@ PLIST_SUB+= AP_MOD_EN="${AP_MOD_EN}"
.if defined(AP_FAST_BUILD)
.if !target(ap-gen-plist)
+_USES_build+= 490:ap-gen-plist
ap-gen-plist:
.if defined(AP_GENPLIST)
. if !exists(${PLIST})
@@ -496,13 +497,11 @@ ap-gen-plist:
@${ECHO} "@postunexec ${SED} -i '' -E '/LoadModule[[:blank:]]+%%AP_NAME%%_module/d' %D/%%APACHEETCDIR%%/httpd.conf" >> ${PLIST}
@${ECHO} "@postunexec echo \"Don't forget to remove all ${MODULENAME}-related directives in your httpd.conf\"">> ${PLIST}
. endif
-.else
- @${DO_NADA}
.endif
.endif
.if !target(do-build)
-do-build: ap-gen-plist
+do-build:
(cd ${WRKSRC} && ${APXS} -c ${AP_EXTRAS} -o ${MODULENAME}.la ${SRC_FILE})
.endif