[95953] trunk/dports/devel/thrift/Portfile

blair at macports.org blair at macports.org
Thu Jul 26 18:12:58 PDT 2012


Revision: 95953
          https://trac.macports.org/changeset/95953
Author:   blair at macports.org
Date:     2012-07-26 18:12:58 -0700 (Thu, 26 Jul 2012)
Log Message:
-----------
thrift: add +glib2 variant to build the GLib library.

Modified Paths:
--------------
    trunk/dports/devel/thrift/Portfile

Modified: trunk/dports/devel/thrift/Portfile
===================================================================
--- trunk/dports/devel/thrift/Portfile	2012-07-27 00:55:12 UTC (rev 95952)
+++ trunk/dports/devel/thrift/Portfile	2012-07-27 01:12:58 UTC (rev 95953)
@@ -32,8 +32,9 @@
                     port:pkgconfig
 depends_lib-append  port:openssl
 
-configure.args  --with-csharp=no \
-                --with-d=no \
+configure.args  --with-c_glib=no \
+                --with-csharp=no \
+                --with-go=no \
                 --with-erlang=no \
                 --with-go=no \
                 --with-haskell=no \
@@ -57,6 +58,12 @@
     depends_lib-append      port:mono
 }
 
+variant glib2 description "enable the C (GLib) library" {
+    configure.args-delete   --with-c_glib=no
+    configure.args-append   --with-c_glib=yes
+    depends_lib-append      port:glib2
+}
+
 # doesn't install into destroot
 #variant ruby description "enable the Ruby library" {
 #    configure.args-delete   --with-ruby=no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120726/68ec3b8b/attachment.html>


More information about the macports-changes mailing list