aboutsummaryrefslogtreecommitdiffstats
path: root/www/apache22
diff options
context:
space:
mode:
authorohauer <ohauer@FreeBSD.org>2012-09-10 01:01:30 +0800
committerohauer <ohauer@FreeBSD.org>2012-09-10 01:01:30 +0800
commite83d02ba5bcfa9fcb69aaa65da707d8ccede70cd (patch)
treec3fb428dc42eeda79b5c4768e38db3115e56b998 /www/apache22
parent06afc20ccc1f0c542cd1cf7f90b36115d1007b67 (diff)
downloadfreebsd-ports-gnome-e83d02ba5bcfa9fcb69aaa65da707d8ccede70cd.tar.gz
freebsd-ports-gnome-e83d02ba5bcfa9fcb69aaa65da707d8ccede70cd.tar.zst
freebsd-ports-gnome-e83d02ba5bcfa9fcb69aaa65da707d8ccede70cd.zip
- notice the users that old WITH/WITHOUT parameters are obsolete.
Point them to the wiki Thanks to crees@ for this suggestion to implement this direct in the port PR: 171509
Diffstat (limited to 'www/apache22')
-rw-r--r--www/apache22/Makefile18
1 files changed, 18 insertions, 0 deletions
diff --git a/www/apache22/Makefile b/www/apache22/Makefile
index 2b3f2812c6b6..066293121e77 100644
--- a/www/apache22/Makefile
+++ b/www/apache22/Makefile
@@ -47,6 +47,24 @@ WITH_HTTP_PORT?= 80
MPM_ITK_VERSION?= 20110321-01
.include "${APACHEDIR}/Makefile.options"
+
+# stop users from using old WITH/WITHOUT parameters
+.for opt in ${OPTIONS_DEFINE}
+. if defined(WITH_${opt}) || defined(WITHOUT_${opt})
+BROKEN= WITH/WITHOUT parameters are obsolete. \
+ The port use the new options NG framework. Please read\
+ http://wiki.freebsd.org/Ports/Options/OptionsNG
+. endif
+.endfor
+
+.for cat in ${ALL_MODULES_CATEGORIES}
+. if defined(WITH_${cat}_MODULES)
+BROKEN= WITH/WITHOUT_..._MODULES parameters are obsolete. \
+ The port use the new options NG framework. Please read\
+ http://wiki.freebsd.org/Ports/Options/OptionsNG
+. endif
+.endfor
+
.include <bsd.port.options.mk>
.include "${APACHEDIR}/Makefile.doc"