aboutsummaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authorpgollucci <pgollucci@FreeBSD.org>2010-06-07 22:38:44 +0800
committerpgollucci <pgollucci@FreeBSD.org>2010-06-07 22:38:44 +0800
commit031648cd8df8c6025fbadb1cac0a55f1430a38d8 (patch)
tree2ea6796582e15be2ca073b83cc98907f3bbf85ad /Mk
parentfe665c5b9cdb1e48518144acf4517764f1a5c3c1 (diff)
downloadfreebsd-ports-gnome-031648cd8df8c6025fbadb1cac0a55f1430a38d8.tar.gz
freebsd-ports-gnome-031648cd8df8c6025fbadb1cac0a55f1430a38d8.tar.zst
freebsd-ports-gnome-031648cd8df8c6025fbadb1cac0a55f1430a38d8.zip
- Provide a knob to not check the APACHE_PORT value or the installed version of httpd.
Very useful for maintainers or for doing all the targets up to 'do-install' With Hat: apache@
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.apache.mk2
1 files changed, 2 insertions, 0 deletions
diff --git a/Mk/bsd.apache.mk b/Mk/bsd.apache.mk
index 8dd590b55136..2df789b8fd20 100644
--- a/Mk/bsd.apache.mk
+++ b/Mk/bsd.apache.mk
@@ -251,7 +251,9 @@ AP_CUR_VERSION!= ${ECHO_CMD} ${APACHE_PORT} | ${SED} -ne 's,.*/apache\([0-9]*\).
.if defined(AP_CUR_VERSION)
VERSION_CHECK!= eval `${ECHO_CMD} "[ ${AP_VERSION} -eq ${AP_CUR_VERSION} ]" | ${SED} -e 's/- -eq/ -ge/ ; s/+ -eq/ -le/' ` ; ${ECHO_CMD} $${?}
. if ${VERSION_CHECK} == 1
+.if !defined(AP_IGNORE_VERSION_CHECK)
IGNORE= ${_ERROR_MSG} apache${AP_CUR_VERSION} is installed (or APACHE_PORT is defined) and port requires ${USE_APACHE}
+.endif
. endif
APACHE_VERSION= ${AP_CUR_VERSION}
.else