From owner-svn-ports-all@FreeBSD.ORG  Sun Sep  9 17:01:30 2012
Return-Path: <owner-svn-ports-all@FreeBSD.ORG>
Delivered-To: svn-ports-all@freebsd.org
Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34])
	by hub.freebsd.org (Postfix) with ESMTP id B37911065670;
	Sun,  9 Sep 2012 17:01:30 +0000 (UTC)
	(envelope-from ohauer@FreeBSD.org)
Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c])
	by mx1.freebsd.org (Postfix) with ESMTP id 9EBB28FC08;
	Sun,  9 Sep 2012 17:01:30 +0000 (UTC)
Received: from svn.freebsd.org (localhost [127.0.0.1])
	by svn.freebsd.org (8.14.4/8.14.4) with ESMTP id q89H1Uoo009742;
	Sun, 9 Sep 2012 17:01:30 GMT (envelope-from ohauer@svn.freebsd.org)
Received: (from ohauer@localhost)
	by svn.freebsd.org (8.14.4/8.14.4/Submit) id q89H1UNl009740;
	Sun, 9 Sep 2012 17:01:30 GMT (envelope-from ohauer@svn.freebsd.org)
Message-Id: <201209091701.q89H1UNl009740@svn.freebsd.org>
From: Olli Hauer <ohauer@FreeBSD.org>
Date: Sun, 9 Sep 2012 17:01:30 +0000 (UTC)
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
	svn-ports-head@freebsd.org
X-SVN-Group: ports-head
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Cc: 
Subject: svn commit: r303982 - head/www/apache22
X-BeenThere: svn-ports-all@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: SVN commit messages for the ports tree <svn-ports-all.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
	<mailto:svn-ports-all-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/svn-ports-all>
List-Post: <mailto:svn-ports-all@freebsd.org>
List-Help: <mailto:svn-ports-all-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/svn-ports-all>,
	<mailto:svn-ports-all-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Sun, 09 Sep 2012 17:01:30 -0000

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"