[108964] trunk/dports/gnome/gtksourceview3/Portfile

devans at macports.org devans at macports.org
Mon Aug 5 00:04:15 PDT 2013


Revision: 108964
          https://trac.macports.org/changeset/108964
Author:   devans at macports.org
Date:     2013-08-05 00:04:15 -0700 (Mon, 05 Aug 2013)
Log Message:
-----------
gtksourceview3: re-enable gobject introspection when building universal.

Modified Paths:
--------------
    trunk/dports/gnome/gtksourceview3/Portfile

Modified: trunk/dports/gnome/gtksourceview3/Portfile
===================================================================
--- trunk/dports/gnome/gtksourceview3/Portfile	2013-08-05 06:54:34 UTC (rev 108963)
+++ trunk/dports/gnome/gtksourceview3/Portfile	2013-08-05 07:04:15 UTC (rev 108964)
@@ -6,6 +6,7 @@
 name                gtksourceview3
 set gname           gtksourceview
 version             3.8.2
+revision            1
 license             LGPL-2.1+
 set branch          [join [lrange [split ${version} .] 0 1] .]
 maintainers         devans openmaintainer
@@ -35,9 +36,11 @@
 depends_lib         path:lib/pkgconfig/glib-2.0.pc:glib2 \
                     port:gettext \
                     port:gtk3 \
+                    port:gobject-introspection \
                     port:libxml2
 
 configure.cflags-append -Wno-format-nonliteral
+configure.args      --enable-introspection=yes
 
 test.run            yes
 test.target         check
@@ -49,17 +52,5 @@
         NEWS README ${destroot}${docdir}
 }
 
-#
-# disable introspection if building universal
-# to match behavior of dependency gtk3
-#
-
-if {[variant_isset universal]} {
-    configure.args-append --enable-introspection=no
-} else {
-    depends_lib-append port:gobject-introspection
-    configure.args-append --enable-introspection=yes
-}
-
 livecheck.type      gnome
 livecheck.name      ${gname}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130805/db6a5694/attachment.html>


More information about the macports-changes mailing list