summaryrefslogtreecommitdiffstats
path: root/databases/libgda3/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'databases/libgda3/Makefile')
-rw-r--r--databases/libgda3/Makefile21
1 files changed, 7 insertions, 14 deletions
diff --git a/databases/libgda3/Makefile b/databases/libgda3/Makefile
index 9028bea..6045013 100644
--- a/databases/libgda3/Makefile
+++ b/databases/libgda3/Makefile
@@ -6,11 +6,10 @@
#
PORTNAME= libgda2
-PORTVERSION= 1.0.4
-PORTREVISION= 1
+PORTVERSION= 1.2.1
CATEGORIES= databases gnome
MASTER_SITES= ${MASTER_SITE_GNOME}
-MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/1.0
+MASTER_SITE_SUBDIR= sources/${PORTNAME:S/2$//}/1.2
DISTNAME= libgda-${PORTVERSION}
DIST_SUBDIR= gnome2
@@ -24,11 +23,12 @@ RUN_DEPENDS= scrollkeeper-config:${PORTSDIR}/textproc/scrollkeeper
USE_BZIP2= yes
USE_X_PREFIX= yes
USE_GMAKE= yes
-USE_GNOME= gnomeprefix gnomehack gnomehier glib20 libxslt
+USE_GNOME= gnomeprefix gnomehack glib20 libxslt
INSTALLS_OMF= yes
INSTALLS_SHLIB= yes
-GNU_CONFIGURE= yes
+USE_LIBTOOL_VER=15
USE_REINPLACE= yes
+CONFIGURE_ARGS= --without-bdb
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LIBS="-L${LOCALBASE}/lib -lintl"
@@ -47,10 +47,6 @@ post-patch:
WITH_MYSQL= yes
.endif
-.if exists(${LOCALBASE}/lib/libpq.so.3)
-WITH_PGSQL= yes
-.endif
-
.if exists(${LOCALBASE}/lib/libldap.so.2)
WITH_LDAP=yes
.endif
@@ -111,7 +107,7 @@ LIB_DEPENDS+= gds.1:${PORTSDIR}/databases/firebird
CONFIGURE_ARGS+= --with-firebird=${LOCALBASE}/firebird
PLIST_SUB+= FIREBIRD:=""
.else
-CONFIGURE_ARGS+= --without-firebird
+CONFIGURE_ARGS+= --without-interbase
PLIST_SUB+= FIREBIRD:="@comment "
.endif
@@ -152,7 +148,7 @@ PLIST_SUB+= ODBC:="@comment "
.endif
.if !defined(WITHOUT_SQLITE) && defined(WITH_SQLITE)
-LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite2
+LIB_DEPENDS+= sqlite.2:${PORTSDIR}/databases/sqlite
CONFIGURE_ARGS+= --with-sqlite=${LOCALBASE}
PLIST_SUB+= SQLITE:=""
.else
@@ -164,9 +160,6 @@ pre-everything::
.if !defined(WITH_MYSQL)
@${ECHO_MSG} "You can enable support for MySQL databases by defining WITH_MYSQL."
.endif
-.if !defined(WITH_PGSQL)
- @${ECHO_MSG} "You can enable support for PostgreSQL databases by defining WITH_PGSQL."
-.endif
.if !defined(WITH_LDAP)
@${ECHO_MSG} "You can enable support for LDAP databases by defining WITH_LDAP."
.endif
OpenPOWER on IntegriCloud