From 7ec7e2a3cf3c83af42e57736ddd0f1d39b8b8de7 Mon Sep 17 00:00:00 2001 From: Doug Barton Date: Mon, 17 Oct 2011 04:35:02 +0000 Subject: Remove references to mysql 323 and 40, most commonly of the form: IGNORE_WITH_MYSQL= 323 40 --- databases/gtksql/Makefile | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) (limited to 'databases/gtksql') 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) -- cgit v1.2.3