[93273] trunk/dports/gnome/gobject-introspection/Portfile

cal at macports.org cal at macports.org
Fri May 18 12:42:48 PDT 2012


Revision: 93273
          https://trac.macports.org/changeset/93273
Author:   cal at macports.org
Date:     2012-05-18 12:42:46 -0700 (Fri, 18 May 2012)
Log Message:
-----------
gobject-introspection: Patch is only required when glib2-devel is installed

Modified Paths:
--------------
    trunk/dports/gnome/gobject-introspection/Portfile

Modified: trunk/dports/gnome/gobject-introspection/Portfile
===================================================================
--- trunk/dports/gnome/gobject-introspection/Portfile	2012-05-18 19:15:34 UTC (rev 93272)
+++ trunk/dports/gnome/gobject-introspection/Portfile	2012-05-18 19:42:46 UTC (rev 93273)
@@ -30,9 +30,12 @@
                     port:libffi \
                     port:python27
 
-patchfiles          patch-gir-gio-2.0.c-fix-wrong-naming.patch \
-                    patch-giscanner-scannerlexer.l-support-__inline__.patch
+patchfiles          patch-giscanner-scannerlexer.l-support-__inline__.patch
 
+if {[catch {[registry_active glib2_devel]}]} {
+    patchfiles-append patch-gir-gio-2.0.c-fix-wrong-naming.patch
+}
+
 post-patch {
     reinplace "s|'cc'|'${configure.cc}'|g" ${worksrcpath}/giscanner/sourcescanner.py
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120518/c7342617/attachment.html>


More information about the macports-changes mailing list