Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Sep 2012 17:01:30 +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: r303982 - head/www/apache22
Message-ID:  <201209091701.q89H1UNl009740@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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"
 



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