From owner-freebsd-ports@FreeBSD.ORG Wed Jul 24 21:58:15 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 7476DA03 for ; Wed, 24 Jul 2013 21:58:15 +0000 (UTC) (envelope-from p.christias@noc.ntua.gr) Received: from ulysses.noc.ntua.gr (ulysses.noc.ntua.gr [IPv6:2001:648:2000:de::230]) by mx1.freebsd.org (Postfix) with ESMTP id E91522E6A for ; Wed, 24 Jul 2013 21:58:14 +0000 (UTC) Received: from ajax.noc.ntua.gr (ajax6.noc.ntua.gr [IPv6:2001:648:2000:dc::1]) by ulysses.noc.ntua.gr (8.14.5/8.14.5) with ESMTP id r6OLwCsj070538 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 25 Jul 2013 00:58:13 +0300 (EEST) (envelope-from p.christias@noc.ntua.gr) Received: from ajax.noc.ntua.gr (localhost [127.0.0.1]) by ajax.noc.ntua.gr (8.14.5/8.14.5) with ESMTP id r6OLwCt0086996 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Thu, 25 Jul 2013 00:58:12 +0300 (EEST) (envelope-from p.christias@noc.ntua.gr) Received: (from christia@localhost) by ajax.noc.ntua.gr (8.14.5/8.14.4/Submit) id r6OLwCPs086995 for freebsd-ports@freebsd.org; Thu, 25 Jul 2013 00:58:12 +0300 (EEST) (envelope-from p.christias@noc.ntua.gr) X-Authentication-Warning: ajax.noc.ntua.gr: christia set sender to p.christias@noc.ntua.gr using -f Date: Thu, 25 Jul 2013 00:58:12 +0300 From: Panagiotis Christias To: freebsd-ports@freebsd.org Subject: WITHOUT_NLS precedence over {UNIQUENAME}_SET or OPTIONS_FILE_SET? Message-ID: <20130724215812.GA85865@noc.ntua.gr> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.21 (2010-09-15) X-Virus-Scanned: clamav-milter 0.97.5 at ulysses.noc.ntua.gr X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (ulysses.noc.ntua.gr [IPv6:2001:648:2000:de::230]); Thu, 25 Jul 2013 00:58:13 +0300 (EEST) X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 24 Jul 2013 21:58:15 -0000 Hello, in my servers I add all global and per port build options in the /etc/make.conf file, like this: # Global options WITHOUT_NLS=yes [etc..] # Per port options .if $(.CURDIR:M*/mail/mailman) mailman_SET+=MTA SENDMAIL NLS .endif .if $(.CURDIR:M*/sysutils/coreutils) coreutils_SET+=NLS .endif [etc..] In the above example, I was under the impression that "mailman_SET+=NLS" or "coreutils_SET+=NLS" options would override the global WITHOUT_NLS=yes definition but according to "make showconfig" I was wrong. Is this the correct behavior? To me at least it doesn't seem right. To make things even more weird the following configuration works as expected: # Global options WITHOUT_NLS=yes # Per port options .if $(.CURDIR:M*/mail/mailman) mailman_SET+=MTA SENDMAIL OPTIONS_FILE_SET+=NLS .endif .if $(.CURDIR:M*/sysutils/coreutils) OPTIONS_FILE_SET+=NLS .endif That is, OPTIONS_FILE_SET+=NLS takes precedence over WITHOUT_NLS=yes but {UNIQUENAME}_SET+=NLS doesn't. Regards, Panagiotis -- Panagiotis J. Christias Network Management Center P.Christias@noc.ntua.gr National Technical Univ. of Athens, GREECE