[106658] trunk/dports/databases/libgda4/Portfile

devans at macports.org devans at macports.org
Mon Jun 3 10:18:45 PDT 2013


Revision: 106658
          https://trac.macports.org/changeset/106658
Author:   devans at macports.org
Date:     2013-06-03 10:18:45 -0700 (Mon, 03 Jun 2013)
Log Message:
-----------
libgda4: to avoid conflicts with other libgda versions
  * add variant +gtkui, disabled by default
  * delete generic symlinks to version specific binaries

Modified Paths:
--------------
    trunk/dports/databases/libgda4/Portfile

Modified: trunk/dports/databases/libgda4/Portfile
===================================================================
--- trunk/dports/databases/libgda4/Portfile	2013-06-03 15:59:44 UTC (rev 106657)
+++ trunk/dports/databases/libgda4/Portfile	2013-06-03 17:18:45 UTC (rev 106658)
@@ -6,7 +6,7 @@
 name            libgda4
 set gname       libgda
 version         4.2.13
-revision        3
+revision        4
 license         {GPL-2 LGPL}
 
 set branch      [join [lrange [split ${version} .] 0 1] .]
@@ -26,16 +26,12 @@
 checksums       rmd160  f487af2620fc241e6608a80b863b40a81ea3c548 \
                 sha256  25b75951f8f38fd58a403389566a0aae2f83b39d4225bc3acf5f2d68895ab4c3
 
-#patchfiles     patch-configure.ac.diff
-
 depends_build   port:pkgconfig \
                 port:intltool \
                 port:gnome-doc-utils
 
 depends_lib     port:readline \
                 port:sqlite3 \
-                port:gtksourceview2 \
-                port:goocanvas \
                 port:libunique \
                 port:iso-codes \
                 port:libsoup \
@@ -58,8 +54,6 @@
     }
 }
 
-#use_autoreconf    yes
-
 configure.perl  ${prefix}/bin/perl
 configure.env-append  INTLTOOL_PERL=${configure.perl}
 
@@ -67,6 +61,7 @@
                 --enable-system-sqlite \
                 --disable-silent-rules \
                 --disable-introspection \
+                --without-ui \
                 --without-graphviz \
                 --without-mysql \
                 --without-postgres \
@@ -75,8 +70,6 @@
                 --without-java \
                 --without-jni
 
-#                --without-mdb
-
 use_parallel_build no
 
 variant with_mysql5 \
@@ -123,10 +116,33 @@
     description {add introspection support} {
         configure.args-delete   --disable-introspection
         configure.args-append   --enable-introspection \
-            --enable-gda-gi \
-            --disable-gdaui-gi
-    }
+                                --enable-gda-gi \
+                                --disable-gdaui-gi
+}
 
+#
+# disable +gtkui by default to avoid possible conflicts
+# with other libgda versions
+#
+
+variant gtkui \
+    description {Enable GTK+ extension and tools} {
+        configure.args-replace  --without-ui --with-ui
+        depends_lib-append      port:gtksourceview2 \
+                                port:goocanvas
+}
+
+#
+# delete generic symbolic links to version specific binaries
+# to avoid possible conflicts with other libgda versions
+#
+ 
+post-destroot {
+    delete ${destroot}${prefix}/bin/gda-list-config
+    delete ${destroot}${prefix}/bin/gda-list-server-op
+    delete ${destroot}${prefix}/bin/gda-sql
+}
+ 
 post-activate {
     system "${prefix}/bin/gtk-update-icon-cache -f -t ${prefix}/share/icons/hicolor"
 }
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130603/86127608/attachment.html>


More information about the macports-changes mailing list