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

snc at macports.org snc at macports.org
Tue Aug 20 10:28:01 PDT 2013


Revision: 109848
          https://trac.macports.org/changeset/109848
Author:   snc at macports.org
Date:     2013-08-20 10:28:01 -0700 (Tue, 20 Aug 2013)
Log Message:
-----------
libiodbc: provide x11 variant by default, #38433

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

Modified: trunk/dports/devel/libiodbc/Portfile
===================================================================
--- trunk/dports/devel/libiodbc/Portfile	2013-08-20 17:27:36 UTC (rev 109847)
+++ trunk/dports/devel/libiodbc/Portfile	2013-08-20 17:28:01 UTC (rev 109848)
@@ -9,7 +9,7 @@
 #override name (keep it lowercase)
 name                libiodbc
 conflicts           unixODBC
-revision            3
+revision            4
 categories          devel
 maintainers         snc openmaintainer
 license             BSD
@@ -22,22 +22,48 @@
 checksums           rmd160  b0f091679ab45a0669468b9c85f45863ad54e7bc \
                     sha256  d37b468c2fbed046c4778aee1f8d9f1e73f1321cc33e2e264998c0d701ca26fb
 
-depends_build       port:automake \
-                    port:autoconf
+depends_build-append    port:automake \
+                        port:autoconf \
+                        port:libtool
 
-depends_lib         port:libpng \
-                    port:libtool \
-                    port:gtk2
+patchfiles-append   patch-iodbcinst-unicode.h.diff \
+                    patch-configure.in.diff
 
-patchfiles          patch-iodbcinst-unicode.h.diff
-patchfiles-append   patch-configure.in.diff
+variant x11 {
+    depends_lib-append  port:atk \
+                        path:lib/pkgconfig/cairo.pc:cairo \
+                        port:fontconfig \
+                        port:freetype \
+                        port:gdk-pixbuf2 \
+                        port:gettext \
+                        path:lib/pkgconfig/glib-2.0.pc:glib2 \
+                        port:gtk2 \
+                        path:lib/pkgconfig/pango.pc:pango \
+                        port:xorg-libX11 \
+                        port:xorg-libXcomposite \
+                        port:xorg-libXcursor \
+                        port:xorg-libXdamage \
+                        port:xorg-libXext \
+                        port:xorg-libXfixes \
+                        port:xorg-libXi \
+                        port:xorg-libXinerama \
+                        port:xorg-libXrandr \
+                        port:xrender
 
-require_active_variants gtk2 x11
+    require_active_variants cairo x11
+    require_active_variants gtk2 x11
+    require_active_variants pango x11
 
+    configure.args-delete   --disable-gui
+}
+
+default_variants +x11
+
 pre-configure {
     system -W ${worksrcpath} "sh ./bootstrap.sh"
 }
-configure.args-append   --with-iodbc-inidir=${prefix}/etc
+configure.args-append   --disable-gui \
+                        --with-iodbc-inidir=${prefix}/etc
 
 # make[2]: *** No rule to make target `../iodbcadm/libiodbcadm.la', needed by `iodbcadm-gtk'.  Stop.
 use_parallel_build  no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130820/18078c93/attachment.html>


More information about the macports-changes mailing list