[126741] trunk/dports/graphics/vips/Portfile

ryandesign at macports.org ryandesign at macports.org
Tue Oct 14 14:59:48 PDT 2014


Revision: 126741
          https://trac.macports.org/changeset/126741
Author:   ryandesign at macports.org
Date:     2014-10-14 14:59:48 -0700 (Tue, 14 Oct 2014)
Log Message:
-----------
vips: explicitly show that gobject-introspection will be used; add the usual code to ensure the right compiler is being used and to help the build on Tiger (#45370)

Modified Paths:
--------------
    trunk/dports/graphics/vips/Portfile

Modified: trunk/dports/graphics/vips/Portfile
===================================================================
--- trunk/dports/graphics/vips/Portfile	2014-10-14 21:36:49 UTC (rev 126740)
+++ trunk/dports/graphics/vips/Portfile	2014-10-14 21:59:48 UTC (rev 126741)
@@ -18,8 +18,6 @@
 checksums           rmd160  cb3d028c05e0375220b63d1d2322284abbc0c51f \
                     sha256  26207184227301ad47c1c8fd5f7f98556087b6add63fa776b54abefed4ae062d
 
-configure.args      --enable-gtk-doc
-
 depends_build       port:gtk-doc \
                     port:pkgconfig
 
@@ -27,6 +25,7 @@
                     path:lib/pkgconfig/pango.pc:pango \
                     port:cfitsio \
                     port:fftw-3 \
+                    port:gobject-introspection \
                     port:ImageMagick \
                     port:jpeg \
                     port:lcms2 \
@@ -42,6 +41,18 @@
                     port:tiff \
                     port:zlib
 
+configure.args      --enable-gtk-doc \
+                    --enable-introspection
+
+# gobject-introspection uses g-ir-scanner, which uses $CC from env
+build.args-append   CC="${configure.cc} ${configure.cc_archflags}"
+
+# The rules enabled by gobject-introspection require GNU make 3.81+
+platform darwin 8 {
+    depends_build-append    port:gmake
+    build.cmd               ${prefix}/bin/gmake
+}
+
 livecheck.type      regex
 livecheck.url       ${homepage}/supported/current/
 livecheck.regex     >${name}-(\\d+(?:\\.\\d+)*)${extract.suffix}<
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20141014/b63b6fee/attachment-0001.html>


More information about the macports-changes mailing list