[25656] trunk/dports/devel/pcre/Portfile

Ryan Schmidt ryandesign at macports.org
Sun May 27 13:44:31 PDT 2007


On May 27, 2007, at 11:37, source_changes at macosforge.org wrote:

> Revision: 25656
>           http://trac.macosforge.org/projects/macports/changeset/25656
> Author:   nox at macports.org
> Date:     2007-05-27 09:37:40 -0700 (Sun, 27 May 2007)
>
> Log Message:
> -----------
> Added utf8 variant.
> Added standard documentation installation.
> Changed master sites order.
> Taken over.
>
> Modified Paths:
> --------------
>     trunk/dports/devel/pcre/Portfile
>
> Modified: trunk/dports/devel/pcre/Portfile
> ===================================================================
> --- trunk/dports/devel/pcre/Portfile	2007-05-27 16:29:56 UTC (rev  
> 25655)
> +++ trunk/dports/devel/pcre/Portfile	2007-05-27 16:37:40 UTC (rev  
> 25656)
> @@ -3,8 +3,9 @@
>  PortSystem 1.0
>  name            pcre
>  version         7.1
> +revision        1
>  categories      devel
> -maintainers     nomaintainer at macports.org
> +maintainers     nox
>  description     Perl Compatible Regular Expressions Library
>  long_description \
>      The PCRE library is a set of functions that implement  
> regular       \
> @@ -14,18 +15,20 @@
>
>  homepage        http://www.pcre.org/
>  platforms       darwin freebsd
> -master_sites    sourceforge \
> -                ftp://ftp.fu-berlin.de/unix/misc/pcre/ \
> -                ftp://ftp.tin.org/pub/libs/pcre/ \
> -                ftp://ftp.csx.cam.ac.uk/pub/software/programming/ 
> pcre/
> -
> +master_sites    ftp://ftp.fu-berlin.de/unix/misc/${name}/ \
> +                ftp://ftp.tin.org/pub/libs/${name}/ \
> +                ftp://ftp.csx.cam.ac.uk/pub/software/programming/$ 
> {name}/ \
> +                sourceforge
> +
>  use_bzip2       yes
>  checksums       md5 c678550aaf064a17bb4bb6ea36dd6d88 \
>                  sha1 1bc54556368165e7ce5f59ac2a60aba7dec6365c \
>                  rmd160 1df0f1e86435a7f77c694472bb23bc71433a60be
>
> -configure.args  --mandir=${prefix}/share/man \
> -                --enable-utf8 \
> -                --enable-unicode-properties
> +configure.args  --docdir=${prefix}/share/doc/${name}-${version}
>
>  test.run        yes
> +
> +variant utf8 description {Enable UTF-8 support} {
> +    configure.args-append   --enable-unicode-properties
> +}

So wait... users who had pcre 7.1_0 installed already had UTF-8  
support. Now we upgrade to pcre 7.1_1 and we don't have UTF-8  
support, unless we uninstall pcre and reinstall it with +utf8. Why  
was UTF-8 support made optional and non-default?






More information about the macports-dev mailing list