summaryrefslogtreecommitdiffstats
path: root/databases/libgda2
diff options
context:
space:
mode:
authormarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-06 14:35:26 +0800
committermarcus <marcus@df743ca5-7f9a-e211-a948-0013205c9059>2005-03-06 14:35:26 +0800
commite60fc8ed5759e8c09f3973180e88698d2f3caf4e (patch)
tree7004003e7c74650f80daaa5b6197156bf301a216 /databases/libgda2
parent0b4f0f6ee8059681bf182690e7181fa1172f2384 (diff)
downloadmarcuscom-ports-e60fc8ed5759e8c09f3973180e88698d2f3caf4e.tar
marcuscom-ports-e60fc8ed5759e8c09f3973180e88698d2f3caf4e.tar.gz
marcuscom-ports-e60fc8ed5759e8c09f3973180e88698d2f3caf4e.tar.bz2
marcuscom-ports-e60fc8ed5759e8c09f3973180e88698d2f3caf4e.tar.lz
marcuscom-ports-e60fc8ed5759e8c09f3973180e88698d2f3caf4e.tar.xz
marcuscom-ports-e60fc8ed5759e8c09f3973180e88698d2f3caf4e.tar.zst
marcuscom-ports-e60fc8ed5759e8c09f3973180e88698d2f3caf4e.zip
Use new Postgresql system.
Reported by: Yasuda Keisuke <kysd@po.harenet.ne.jp> git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3816 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'databases/libgda2')
-rw-r--r--databases/libgda2/Makefile38
1 files changed, 3 insertions, 35 deletions
diff --git a/databases/libgda2/Makefile b/databases/libgda2/Makefile
index 18a095122..7144cb976 100644
--- a/databases/libgda2/Makefile
+++ b/databases/libgda2/Makefile
@@ -47,18 +47,6 @@ post-patch:
WITH_MYSQL= yes
.endif
-.if exists(${LOCALBASE}/include/postgresql/server/access/subtrans.h)
-WITH_POSTGRES80=yes
-.endif
-
-.if exists(${LOCALBASE}/include/postgresql/server/access/strat.h)
-WITH_POSTGRES74=yes
-.endif
-
-.if exists(${LOCALBASE}/lib/libecpg.so.3)
-WITH_POSTGRES73=yes
-.endif
-
.if exists(${LOCALBASE}/lib/libldap.so.2)
WITH_LDAP=yes
.endif
@@ -96,33 +84,13 @@ CONFIGURE_ARGS+= --with-mysql=${LOCALBASE}
PLIST_SUB+= MYSQL:=""
.endif
-.if !defined(WITHOUT_POSTGRES73) && defined(WITH_POSTGRES73)
-POSTGRESQL_PORT?= databases/postgresql73-client
-LIB_DEPENDS+= pq.3:${PORTSDIR}/${POSTGRESQL_PORT}
+.if !defined(WITHOUT_PGSQL) && defined(WITH_PGSQL)
+USE_PGSQL= yes
CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
PLIST_SUB+= POSTGRES:=""
-.endif
-
-.if !defined(WITHOUT_POSTGRES74) && defined(WITH_POSTGRES74)
-POSTGRESQL_PORT?= databases/postgresql74-client
-LIB_DEPENDS+= pg.3:${PORTSDIR}/${POSTGRESQL_PORT}
-CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
-PLIST_SUB+= POSTGRES:=""
-.endif
-
-.if !defined(WITHOUT_POSTGRES80) && defined(WITH_POSTGRES80)
-POSTGRESQL_PORT?= databases/postgresql80-client
-LIB_DEPENDS+= pg.3:${PORTSDIR}/${POSTGRESQL_PORT}
-CONFIGURE_ARGS+= --with-postgres=${LOCALBASE}
-PLIST_SUB+= POSTGRES:=""
-.endif
-
-
-.if !defined(WITH_POSTGRES73) && !defined(WITH_POSTGRES74) && \
- !defined(WITH_POSTGRES80)
+.else
PLIST_SUB+= POSTGRES:="@comment "
CONFIGURE_ARGS+= --without-postgres
-.endif
.if !defined(WITHOUT_LDAP) && defined(WITH_LDAP)
USE_OPENLDAP= yes