From owner-svn-ports-head@FreeBSD.ORG Sun Oct 7 04:31:14 2012 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A1B83106566C; Sun, 7 Oct 2012 04:31:14 +0000 (UTC) (envelope-from eadler@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id 8CE598FC08; Sun, 7 Oct 2012 04:31:14 +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 q974VEJp016702; Sun, 7 Oct 2012 04:31:14 GMT (envelope-from eadler@svn.freebsd.org) Received: (from eadler@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q974VEtl016700; Sun, 7 Oct 2012 04:31:14 GMT (envelope-from eadler@svn.freebsd.org) Message-Id: <201210070431.q974VEtl016700@svn.freebsd.org> From: Eitan Adler Date: Sun, 7 Oct 2012 04:31:14 +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: r305426 - head/devel/binutils X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.5 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: Sun, 07 Oct 2012 04:31:14 -0000 Author: eadler Date: Sun Oct 7 04:31:13 2012 New Revision: 305426 URL: http://svn.freebsd.org/changeset/ports/305426 Log: Convert to OptionsNG PR: ports/172422 Submitted by: Michael Gmelin Modified: head/devel/binutils/Makefile Modified: head/devel/binutils/Makefile ============================================================================== --- head/devel/binutils/Makefile Sun Oct 7 03:55:19 2012 (r305425) +++ head/devel/binutils/Makefile Sun Oct 7 04:31:13 2012 (r305426) @@ -1,9 +1,5 @@ -# New ports collection makefile for: binutils -# Date created: 9 July 2009 -# Whom: Martin Matuska -# +# Created by: Martin Matuska # $FreeBSD$ -# PORTNAME= binutils PORTVERSION= 2.22 @@ -23,7 +19,7 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libgmp.s CONFLICTS= libbfd-[0-9]* -OPTIONS= NLS "Enable National Language Support" off +OPTIONS_DEFINE= NLS LICENSE_FILE_GPLv3= ${WRKSRC}/COPYING3 LICENSE_FILE_LGPL3= ${WRKSRC}/COPYING3.LIB @@ -69,7 +65,7 @@ INFO= as \ configure \ ld -.include +.include # Actual earliest version may differ slightly .if ${OSVERSION} >= 900044 @@ -79,7 +75,7 @@ PLIST_SUB+= GOLD="" PLIST_SUB+= GOLD="@comment " .endif -.if defined(WITH_NLS) +.if ${PORT_OPTIONS:MNLS} USE_GETTEXT= yes PLIST_SUB+= NLS="" .else @@ -100,4 +96,4 @@ post-install: @${FIND} -ds ${PREFIX}/${CONFIGURE_TARGET} -type d | \ ${SED} -e 's,^${PREFIX}/,@dirrm ,' >> ${TMPPLIST} -.include +.include