svn commit: r303982 - head/www/apache22
Olli Hauer
ohauer at FreeBSD.org
Sun Sep 9 17:01:30 UTC 2012
Author: ohauer
Date: Sun Sep 9 17:01:30 2012
New Revision: 303982
URL: http://svn.freebsd.org/changeset/ports/303982
Log:
- 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
Modified:
head/www/apache22/Makefile
Modified: head/www/apache22/Makefile
==============================================================================
--- head/www/apache22/Makefile Sun Sep 9 16:53:12 2012 (r303981)
+++ head/www/apache22/Makefile Sun Sep 9 17:01:30 2012 (r303982)
@@ -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"
More information about the svn-ports-all
mailing list