diff options
author | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-09-26 08:40:40 +0000 |
---|---|---|
committer | Baptiste Daroussin <bapt@FreeBSD.org> | 2012-09-26 08:40:40 +0000 |
commit | d1b672e7dc4a884920e98ace46a255a68c5e9a5d (patch) | |
tree | d7814028607b09fb4688cf64b06dd2ad9954ef23 /devel/icu/Makefile | |
parent | Convert to OptionsNG (diff) |
Convert to OptionsNG
Notes
Notes:
svn path=/head/; revision=304885
Diffstat (limited to 'devel/icu/Makefile')
-rw-r--r-- | devel/icu/Makefile | 16 |
1 files changed, 7 insertions, 9 deletions
diff --git a/devel/icu/Makefile b/devel/icu/Makefile index 0aa540984fc6..67763fcb5fa4 100644 --- a/devel/icu/Makefile +++ b/devel/icu/Makefile @@ -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-license.txt 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} ICUMINOR=${ICUMINOR} ICUVER=${PORTVERSION} 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: |