diff options
author | recht <recht@pkgsrc.org> | 2003-12-03 16:52:48 +0000 |
---|---|---|
committer | recht <recht@pkgsrc.org> | 2003-12-03 16:52:48 +0000 |
commit | 2d52a339a19bafbc33ed80e6a6e5ca6ae35d59b4 (patch) | |
tree | b248273c9d8e3ada5d5fb0f2a59477eb16b7a049 /textproc/icu/Makefile | |
parent | 5c77c15e857fabeda3abb6f2a135132a8b3abb52 (diff) | |
download | pkgsrc-2d52a339a19bafbc33ed80e6a6e5ca6ae35d59b4.tar.gz |
update to 2.6.1
Lots of changes/fixes, eg. Unicode 4.0 support.
See
http://oss.software.ibm.com/cvs/icu/~checkout~/icu/readme.html?rev=1.141.2.1#News
for details.
ok'ed by wiz@
Diffstat (limited to 'textproc/icu/Makefile')
-rw-r--r-- | textproc/icu/Makefile | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/textproc/icu/Makefile b/textproc/icu/Makefile index 906ebc5aa33..1dc0dc773ea 100644 --- a/textproc/icu/Makefile +++ b/textproc/icu/Makefile @@ -1,9 +1,11 @@ -# $NetBSD: Makefile,v 1.23 2003/12/02 23:11:30 recht Exp $ +# $NetBSD: Makefile,v 1.24 2003/12/03 16:52:48 recht Exp $ # -DISTNAME= icu-2.6 +DISTNAME= icu-2.6.1 WRKSRC= ${WRKDIR}/${PKGBASE}/source CATEGORIES= textproc +EXTRACT_SUFX= .tgz + # # The IBM site has long delays that can cause ftp to timeout. Use the # backup FTP repositories in preference to the IBM one. @@ -23,7 +25,6 @@ TEST_TARGET= check GNU_CONFIGURE= YES CONFIGURE_ARGS+= --enable-static -CONFIGURE_ARGS+= --disable-threads # ICU's configure script will automatically append "/icu" to the sysconfdir. CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE} @@ -32,13 +33,19 @@ PKG_SYSCONFSUBDIR= icu SUPPORT_FILES+= ${PREFIX}/share/examples/icu/convrtrs.txt \ ${PKG_SYSCONFDIR}/convrtrs.txt +.include "../../mk/pthread.buildlink2.mk" + +.if defined(PTHREAD_TYPE) && ${PTHREAD_TYPE} != "native" +CONFIGURE_ARGS+= --disable-threads +.endif + .include "../../mk/bsd.prefs.mk" .if !empty(CC_VERSION:Mgcc-3*) CXXFLAGS:= ${CXXFLAGS:C/-O[0-9]*/-O/g} -CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O/g} -CXXFLAGS:= ${CXXFLAGS:C/-Os/-O/g} CFLAGS:= ${CFLAGS:C/-Os/-O/g} +CXXFLAGS:= ${CXXFLAGS:C/-Os/-O/g} +CFLAGS:= ${CFLAGS:C/-O[0-9]*/-O/g} CONFIGURE_ENV+= CXXFLAGS="${CXXFLAGS}" CONFIGURE_ENV+= CFLAGS="${CFLAGS}" .endif |