[112086] trunk/dports/devel/glade/Portfile
devans at macports.org
devans at macports.org
Fri Oct 11 08:09:35 PDT 2013
Revision: 112086
https://trac.macports.org/changeset/112086
Author: devans at macports.org
Date: 2013-10-11 08:09:34 -0700 (Fri, 11 Oct 2013)
Log Message:
-----------
glade: enable GObject introspection for +universal builds.
Modified Paths:
--------------
trunk/dports/devel/glade/Portfile
Modified: trunk/dports/devel/glade/Portfile
===================================================================
--- trunk/dports/devel/glade/Portfile 2013-10-11 08:02:02 UTC (rev 112085)
+++ trunk/dports/devel/glade/Portfile 2013-10-11 15:09:34 UTC (rev 112086)
@@ -2,10 +2,10 @@
# $Id$
PortSystem 1.0
-PortGroup active_variants 1.1
name glade
version 3.14.2
+revision 1
license LGPL-2 GPL-2
set branch [join [lrange [split ${version} .] 0 1] .]
description Glade is a RAD tool to enable quick & easy development of user interfaces \
@@ -29,6 +29,7 @@
port:gnome-doc-utils
depends_lib port:gtk3 \
+ port:gobject-introspection \
port:libxml2
depends_run port:desktop-file-utils \
@@ -36,20 +37,8 @@
patchfiles patch-configure.diff
-#
-# disable gobject introspection if building universal
-# to match behavior of dependency gtk3
-#
+configure.args --enable-introspection=yes
-if {[variant_isset universal]} {
- require_active_variants gtk3 universal
- configure.args --enable-introspection=no
-} else {
- require_active_variants gtk3 "" universal
- depends_lib-append port:gobject-introspection
- configure.args --enable-introspection=yes
-}
-
variant python26 conflicts python27 description {Use python 2.6} {
configure.python ${prefix}/bin/python2.6
depends_lib-append port:py26-gobject3
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131011/f4f5d275/attachment-0001.html>
More information about the macports-changes
mailing list