From owner-svn-ports-head@FreeBSD.ORG Wed Sep 26 08:40:40 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 BF790106564A; Wed, 26 Sep 2012 08:40:40 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:4f8:fff6::2c]) by mx1.freebsd.org (Postfix) with ESMTP id AB87A8FC0A; Wed, 26 Sep 2012 08:40:40 +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 q8Q8eeXK092325; Wed, 26 Sep 2012 08:40:40 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.4/8.14.4/Submit) id q8Q8eeww092323; Wed, 26 Sep 2012 08:40:40 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201209260840.q8Q8eeww092323@svn.freebsd.org> From: Baptiste Daroussin Date: Wed, 26 Sep 2012 08:40:40 +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: r304885 - head/devel/icu 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: Wed, 26 Sep 2012 08:40:40 -0000 Author: bapt Date: Wed Sep 26 08:40:40 2012 New Revision: 304885 URL: http://svn.freebsd.org/changeset/ports/304885 Log: Convert to OptionsNG Modified: head/devel/icu/Makefile Modified: head/devel/icu/Makefile ============================================================================== --- head/devel/icu/Makefile Wed Sep 26 08:33:16 2012 (r304884) +++ head/devel/icu/Makefile Wed Sep 26 08:40:40 2012 (r304885) @@ -1,9 +1,5 @@ -# New ports collection makefile for: icu -# Date created: 22 Jan 2001 -# Whom: dwm -# +# Created by: dwm # $FreeBSD$ -# PORTNAME= icu PORTVERSION= 4.8.1.1 @@ -23,7 +19,9 @@ LICENSE_FILE= ${WRKSRC}/../unicode-licen LICENSE_PERMS= ${_LICENSE_PERMS_DEFAULT} GNU_CONFIGURE= yes -OPTIONS= THREADS "Build thread-safe version of the library" on +OPTIONS_DEFINE= THREADS +OPTIONS_DEFAULT= THREADS +THREADS_DESC= Build thread-safe version of the library USE_LDCONFIG= yes @@ -68,11 +66,11 @@ PLIST_SUB+= ICUMAJOR=${ICUMAJOR} ICUMINO BROKEN= Does not compile on arm .endif -.if defined(WITHOUT_THREADS) -CONFIGURE_ARGS+= --enable-threads=no -.else +.if ${PORT_OPTIONS:MTHREADS} # This builds thread-safe, but not the thread-using version: CONFIGURE_ARGS+= --enable-weak-threads +.else +CONFIGURE_ARGS+= --enable-threads=no .endif post-patch: