[36146] trunk/dports/math/gnudatalanguage/Portfile

Ryan Schmidt ryandesign at macports.org
Sat Apr 19 15:38:55 PDT 2008


On Apr 19, 2008, at 6:38 AM, takeshi at macports.org wrote:

> Revision: 36146
>           http://trac.macosforge.org/projects/macports/changeset/36146
> Author:   takeshi at macports.org
> Date:     2008-04-19 04:37:58 -0700 (Sat, 19 Apr 2008)
>
> Log Message:
> -----------
> gnudatalanguage: fixed compatibility with ImageMagick >= 6.3.8-5


> @@ -46,6 +47,10 @@
>                      --enable-python_version=2.4 \
>                      --with-Magick=${prefix} \
>                      --disable-dependency-tracking
> +set imflag [lsearch [exec pkg-config --libs-only-l ImageMagick] - 
> lMagickCore]
> +if {$imflag} {
> +   configure.cppflags-append "-I${prefix}/include/ImageMagick"
> +}

I think this is the change that broke the portindex, and in any case  
isn't compatible with users who do not have the pkgconfig port  
installed at the time that they execute any port command (e.g. port  
info). You should probably wrap these new lines in a pre-configure  
section.



More information about the macports-dev mailing list