From owner-svn-ports-head@freebsd.org Mon Oct 24 14:53:28 2016 Return-Path: Delivered-To: svn-ports-head@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 511F9C1E9BF; Mon, 24 Oct 2016 14:53:28 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 20804105; Mon, 24 Oct 2016 14:53:28 +0000 (UTC) (envelope-from mat@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u9OErRIP070628; Mon, 24 Oct 2016 14:53:27 GMT (envelope-from mat@FreeBSD.org) Received: (from mat@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u9OErREK070627; Mon, 24 Oct 2016 14:53:27 GMT (envelope-from mat@FreeBSD.org) Message-Id: <201610241453.u9OErREK070627@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: mat set sender to mat@FreeBSD.org using -f From: Mathieu Arnold Date: Mon, 24 Oct 2016 14:53:27 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r424571 - head/Mk X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 24 Oct 2016 14:53:28 -0000 Author: mat Date: Mon Oct 24 14:53:26 2016 New Revision: 424571 URL: https://svnweb.freebsd.org/changeset/ports/424571 Log: Add a warning for people who set foo_DEFAULT in their make.conf or environment. Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D8060 Modified: head/Mk/bsd.default-versions.mk (contents, props changed) Modified: head/Mk/bsd.default-versions.mk ============================================================================== --- head/Mk/bsd.default-versions.mk Mon Oct 24 14:53:18 2016 (r424570) +++ head/Mk/bsd.default-versions.mk Mon Oct 24 14:53:26 2016 (r424571) @@ -15,6 +15,15 @@ _INCLUDE_BSD_DEFAULT_VERSIONS_MK= yes LOCALBASE?= /usr/local +.for lang in APACHE BDB FIREBIRD FPC GCC GHOSTSCRIPT LINUX LUA MYSQL PERL6 \ + PGSQL PHP PYTHON PYTHON2 PYTHON3 RUBY SSL TCLTK +.if defined(${lang}_DEFAULT) +WARNING+= "The variable ${lang}_DEFAULT is set and it should only be defined through DEFAULT_VERSIONS+=${lang:tl}=${${lang}_DEFAULT} in /etc/make.conf" +WARNING+= "This behaviour has never been supported and will be removed on 2017-01-31" +.endif +#.undef ${lang}_DEFAULT +.endfor + .for lang in ${DEFAULT_VERSIONS} _l= ${lang:C/=.*//g} ${_l:tu}_DEFAULT= ${lang:C/.*=//g}