aboutsummaryrefslogtreecommitdiffstats
path: root/databases/gtksql
diff options
context:
space:
mode:
authordougb <dougb@FreeBSD.org>2011-10-17 12:35:02 +0800
committerdougb <dougb@FreeBSD.org>2011-10-17 12:35:02 +0800
commit1e45c82800003881f68ecd40478aa7d38a698dc2 (patch)
tree4dd7768778f5758186d364b5712dc0979a1ec001 /databases/gtksql
parenta97fa1b76b6539504f41723c74ba97e3232b8fb7 (diff)
downloadfreebsd-ports-gnome-1e45c82800003881f68ecd40478aa7d38a698dc2.tar.gz
freebsd-ports-gnome-1e45c82800003881f68ecd40478aa7d38a698dc2.tar.zst
freebsd-ports-gnome-1e45c82800003881f68ecd40478aa7d38a698dc2.zip
Remove references to mysql 323 and 40, most commonly of the form:
IGNORE_WITH_MYSQL= 323 40
Diffstat (limited to 'databases/gtksql')
-rw-r--r--databases/gtksql/Makefile7
1 files changed, 3 insertions, 4 deletions
diff --git a/databases/gtksql/Makefile b/databases/gtksql/Makefile
index d3107eb5bf66..2d6ed5669b84 100644
--- a/databases/gtksql/Makefile
+++ b/databases/gtksql/Makefile
@@ -24,8 +24,7 @@ USE_GNOME= gtk12
.if defined(WITH_MYSQL) || (exists(${LOCALBASE}/lib/mysql/libmysqlclient.a) \
&& !defined(WITHOUT_MYSQL))
-HAVE_MYSQL= yes
-LIB_DEPENDS+= mysqlclient.10:${PORTSDIR}/databases/mysql323-client
+USE_MYSQL= yes
.endif
.if defined(WITH_PGSQL) || (exists(${LOCALBASE}/lib/libpq.a) \
&& !defined(WITHOUT_PGSQL))
@@ -34,7 +33,7 @@ USE_PGSQL= yes
.endif
pre-patch:
-.if !defined(HAVE_MYSQL) && !defined(HAVE_PGSQL)
+.if !defined(USE_MYSQL) && !defined(HAVE_PGSQL)
@${ECHO} "You must specify which database to use, possible are:"
@${ECHO}
@${ECHO} "make WITH_MYSQL=yes (for MySQL support)"
@@ -44,7 +43,7 @@ pre-patch:
.endif
do-configure:
-.if defined(HAVE_MYSQL)
+.if defined(USE_MYSQL)
@${REINPLACE_CMD} -e "s/^#MYSQL/MYSQL/g" ${WRKSRC}/Makefile
.endif
.if defined(HAVE_PGSQL)