[132103] trunk/dports/databases/libgda4/Portfile
devans at macports.org
devans at macports.org
Fri Jan 23 06:28:09 PST 2015
Revision: 132103
https://trac.macports.org/changeset/132103
Author: devans at macports.org
Date: 2015-01-23 06:28:09 -0800 (Fri, 23 Jan 2015)
Log Message:
-----------
libgda4: use gobject_introspection portgroup, remove legacy variant +without_bdb.
Modified Paths:
--------------
trunk/dports/databases/libgda4/Portfile
Modified: trunk/dports/databases/libgda4/Portfile
===================================================================
--- trunk/dports/databases/libgda4/Portfile 2015-01-23 14:11:49 UTC (rev 132102)
+++ trunk/dports/databases/libgda4/Portfile 2015-01-23 14:28:09 UTC (rev 132103)
@@ -2,6 +2,7 @@
# $Id$
PortSystem 1.0
+PortGroup gobject_introspection 1.0
name libgda4
set gname libgda
@@ -40,8 +41,7 @@
port:iso-codes \
port:libsoup \
port:libtool \
- port:libxslt \
- port:gobject-introspection
+ port:libxslt
patchfiles patch-bdb.diff \
patch-libgda_gda-data-select.c.diff \
@@ -49,6 +49,8 @@
patch-introspection-1.36.diff \
patch-gir-warnings.diff
+gobject_introspection yes
+
# update m4/intltool.m4 and autoreconf
pre-configure {
@@ -68,7 +70,6 @@
configure.args --enable-system-sqlite=no \
--disable-silent-rules \
- --enable-introspection \
--enable-gda-gi \
--disable-gdaui-gi \
--without-ui \
@@ -117,13 +118,7 @@
configure.args-append --with-postgres=${prefix}/lib/postgresql90
}
-# remove this legacy variant after 201409
-
-variant without_bdb conflicts db47 db48 db51 \
- description {Legacy variant to disable all Berkeley DB support} {
-}
-
-variant db47 conflicts without_bdb db48 db51 \
+variant db47 conflicts db48 db51 \
description {support for Berkeley DB 4.7.x} {
set db_version 47
depends_lib-append port:db${db_version}
@@ -133,7 +128,7 @@
--with-bdb-libdir-name=lib/db${db_version}
}
-variant db48 conflicts without_bdb db47 db51 \
+variant db48 conflicts db47 db51 \
description {support for Berkeley DB 4.8.x} {
set db_version 48
depends_lib-append port:db${db_version}
@@ -143,7 +138,7 @@
--with-bdb-libdir-name=lib/db${db_version}
}
-variant db51 conflicts without_bdb db47 db48 \
+variant db51 conflicts db47 db48 \
description {support for Berkeley DB 5.1.x} {
set db_version 51
depends_lib-append port:db${db_version}
@@ -153,12 +148,8 @@
--with-bdb-libdir-name=lib/db${db_version}
}
-if {[variant_isset without_bdb]} {
- default_variants -db47 -db48 -db51
-} else {
- if {![variant_isset db47] && ![variant_isset db48]} {
- default_variants +db51
- }
+if {![variant_isset db47] && ![variant_isset db48]} {
+ default_variants +db51
}
#
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.macosforge.org/pipermail/macports-changes/attachments/20150123/b74c3ab5/attachment.html>
More information about the macports-changes
mailing list