[98363] trunk/dports/devel/libiodbc/Portfile

snc at macports.org snc at macports.org
Wed Oct 3 08:38:25 PDT 2012


Revision: 98363
          http://trac.macports.org//changeset/98363
Author:   snc at macports.org
Date:     2012-10-03 08:38:25 -0700 (Wed, 03 Oct 2012)
Log Message:
-----------
libiodbc: require opportunistic linking of gtk2 +x11, #35955

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

Modified: trunk/dports/devel/libiodbc/Portfile
===================================================================
--- trunk/dports/devel/libiodbc/Portfile	2012-10-03 14:53:42 UTC (rev 98362)
+++ trunk/dports/devel/libiodbc/Portfile	2012-10-03 15:38:25 UTC (rev 98363)
@@ -3,6 +3,7 @@
 
 PortSystem          1.0
 PortGroup           github 1.0
+PortGroup           active_variants 1.0
 
 github.setup        openlink iODBC 3.52.8 v
 #override name (keep it lowercase)
@@ -21,12 +22,17 @@
 checksums           rmd160  b0f091679ab45a0669468b9c85f45863ad54e7bc \
                     sha256  d37b468c2fbed046c4778aee1f8d9f1e73f1321cc33e2e264998c0d701ca26fb
 
+depends_build       port:automake \
+                    port:autoconf
+
 depends_lib         port:libpng \
-                    port:libtool
+                    port:libtool \
+                    port:gtk2
 
 patchfiles          patch-iodbcinst-unicode.h.diff
 
 pre-configure {
+    require_active_variants gtk2 x11
     system -W ${worksrcpath} "sh ./bootstrap.sh"
 }
 configure.args-append   --with-iodbc-inidir=${prefix}/etc
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20121003/1dd38e00/attachment.html>


More information about the macports-changes mailing list