[53541] trunk/dports/devel/icu
nox
nox at macports.org
Wed Jul 22 05:39:54 PDT 2009
Mmh.
Why did you patch runConfigureICU?
Le 8 juil. 09 à 02:11, takanori at macports.org a écrit :
> Revision53541Authortakanori at macports.orgDate2009-07-07 17:11:10
> -0700 (Tue, 07 Jul 2009)Log Message
> icu: version bump to 4.2.1
> Modified Paths
> • trunk/dports/devel/icu/Portfile
> Added Paths
> • trunk/dports/devel/icu/files/
> • trunk/dports/devel/icu/files/patch-source_runConfigureICU.diff
> Diff
> Modified: trunk/dports/devel/icu/Portfile (53540 => 53541)
>
> --- trunk/dports/devel/icu/Portfile 2009-07-07 21:53:10 UTC (rev
> 53540)
> +++ trunk/dports/devel/icu/Portfile 2009-07-08 00:11:10 UTC (rev
> 53541)
> @@ -5,10 +5,8 @@
>
> name icu
> set my_name icu4c
> -version 4.0
> -revision 1
> -set doc_version [join [lrange [split ${version} .] 0 1] _]
> -categories devel
> +version 4.2.1
> +categories devel textproc
> platforms darwin freebsd
> maintainers nox openmaintainer
> description International Components for Unicode
> @@ -20,21 +18,21 @@
> support for supplementary Unicode characters (needed for GB
> 18030 repertoire support).
>
> homepage http://www.icu-project.org/
> -master_sites http://download.icu-project.org/files/${my_name}/$
> {version}/ \
> - sourceforge
> +master_sites http://download.icu-project.org/files/${my_name}/$
> {version}/
>
> distname ${my_name}-[join [split ${version} .] _]
> extract.suffix .tgz
> distfiles [suffix ${distname}-src]
> +patchfiles patch-source_runConfigureICU.diff
>
> -checksums icu4c-4_0-src.tgz \
> - md5 29ab09d84b72a74953cbb4d3d5759e14 \
> - sha1 ff1d3fa084d2dff140f6b5f53dc1566fdb5ebb17 \
> - rmd160 c80dc50b9177b60a0191ea095c4c1c3360d2c6f4 \
> - icu4c-4_0-docs.zip \
> - md5 32781fab60b60ab69cf7a6fbe4ee303a \
> - sha1 9a7c0a0c63adf02fb156b076d76acaa7dc59a15b \
> - rmd160 ce81012d86ff609b443b710f822f107d629a75ed
> +checksums ${distname}-src.tgz \
> + md5 e3738abd0d3ce1870dc1fd1f22bba5b1 \
> + sha1 872a77fca51325ab0b335cbbadc1739576078434 \
> + rmd160 1b94317a117c40d564ec047cff9cb2de2de3bd9e \
> + ${distname}-docs.zip \
> + md5 abad0bb5d1869ba908718d6900468377 \
> + sha1 703760245543aa64fa92084d77bba4f019bab0ae \
> + rmd160 0ef1c2ef6f649924fa9ee603a48ae664965b0eec
>
> worksrcdir ${name}/source
> set docdir ${prefix}/share/doc/${name}-${version}
> @@ -50,16 +48,6 @@
> --enable-static \
> --disable-samples
>
> -# ICU wants to build with -O3, let's do as it wants.
> -configure.cflags-delete -O2
> -
> -pre-configure {
> - # The -delete statement above may lead to configure.cflags
> variable being unset
> - if {! [info exists configure.cflags]} {
> - configure.cflags
> - }
> -}
> -
> # Fix bug #11981 that prevents ICU from building when upgrading.
> # The default configure flags causes utilisation of outdated ICU
> # headers/libs instead of the right ones.
> @@ -84,10 +72,10 @@
>
> variant doc description {Install extra documentation} {
> extract.only [suffix ${distname}-src]
> - distfiles-append ${my_name}-${doc_version}-docs.zip
> + distfiles-append ${distname}-docs.zip
>
> post-extract {
> - system "unzip -q ${distpath}/${my_name}-${doc_version}-
> docs.zip -d ${workpath}/doc"
> + system "unzip -q ${distpath}/${distname}-docs.zip -d $
> {workpath}/doc"
> }
>
> post-destroot {
> @@ -100,4 +88,5 @@
> destroot.env MAKE=/usr/local/bin/gmake
> }
>
> -livecheck.distname ICU4C
> +livecheck.name internationalcomponentsforunicodecc
> +livecheck.regex "(?i)<title>International Components for Unicode \\
> (C/C\\+\\+\\) (.*)</title>"
> \ No newline at end of file
> Added: trunk/dports/devel/icu/files/patch-
> source_runConfigureICU.diff (0 => 53541)
>
> --- trunk/dports/devel/icu/files/patch-
> source_runConfigureICU.diff (rev 0)
> +++ trunk/dports/devel/icu/files/patch-source_runConfigureICU.diff
> 2009-07-08 00:11:10 UTC (rev 53541)
> @@ -0,0 +1,11 @@
> +--- ./runConfigureICU.orig 2009-07-02 03:51:26.000000000 +0900
> ++++ ./runConfigureICU 2009-07-08 02:12:40.000000000 +0900
> +@@ -250,8 +250,6 @@
> + MacOSX)
> + THE_OS="MacOS X (Darwin)"
> + THE_COMP="the GNU C++"
> +- RELEASE_CFLAGS='-O2'
> +- RELEASE_CXXFLAGS='-O2'
> + ;;
> + *BSD)
> + THE_OS="BSD"
> _______________________________________________
> macports-changes mailing list
> macports-changes at lists.macosforge.org
> http://lists.macosforge.org/mailman/listinfo.cgi/macports-changes
More information about the macports-dev
mailing list