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

takeshi at macports.org takeshi at macports.org
Sat Apr 19 18:35:00 PDT 2008


Revision: 36159
          http://trac.macosforge.org/projects/macports/changeset/36159
Author:   takeshi at macports.org
Date:     2008-04-19 18:34:56 -0700 (Sat, 19 Apr 2008)

Log Message:
-----------
gnudatalanguage: added pkgconfig to depends_build. moved imflag inside patch

Modified Paths:
--------------
    trunk/dports/math/gnudatalanguage/Portfile

Modified: trunk/dports/math/gnudatalanguage/Portfile
===================================================================
--- trunk/dports/math/gnudatalanguage/Portfile	2008-04-19 20:34:07 UTC (rev 36158)
+++ trunk/dports/math/gnudatalanguage/Portfile	2008-04-20 01:34:56 UTC (rev 36159)
@@ -4,7 +4,7 @@
 
 name            gnudatalanguage
 version         0.9rc1
-revision        1
+revision        2
 categories      math science
 maintainers     takeshi at macports.org
 platforms       darwin
@@ -20,7 +20,7 @@
                 sha1   a897a3696c635eb7703ff53955924c70c17bcb26 \
                 rmd160 cce312116805b667e9aa83bcc09520606934f0da
 
-depends_build   port:automake port:libtool
+depends_build   port:automake port:libtool port:pkgconfig
 depends_lib     port:bzip2 \
                 port:freetype \
                 port:gsl \
@@ -47,12 +47,12 @@
                     --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"
-}
 
 patch {
+   set imflag [lsearch [exec pkg-config --libs-only-l ImageMagick] -lMagickCore]
+   if {$imflag} {
+      configure.cppflags-append "-I${prefix}/include/ImageMagick"
+   }
    foreach f {configure.in configure} {
        reinplace "s|-L\$with_hdf5/lib/hdf -L\$with_hdf5/lib/hdf5||" \
            ${worksrcpath}/${f}

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.macosforge.org/pipermail/macports-changes/attachments/20080419/7019286f/attachment.html


More information about the macports-changes mailing list