Date: Wed, 26 Sep 2012 08:40:40 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r304885 - head/devel/icu Message-ID: <201209260840.q8Q8eeww092323@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209260840.q8Q8eeww092323>