diff options
author | Doug Barton <dougb@FreeBSD.org> | 2011-10-17 04:35:02 +0000 |
---|---|---|
committer | Doug Barton <dougb@FreeBSD.org> | 2011-10-17 04:35:02 +0000 |
commit | 7ec7e2a3cf3c83af42e57736ddd0f1d39b8b8de7 (patch) | |
tree | fd55449f6086b0a869da974df6a604701bb2e090 /databases/gtksql | |
parent | 6c1dfce3fe941fceb40adc5f8bd719ebe26daf67 (diff) | |
download | ports-7ec7e2a3cf3c83af42e57736ddd0f1d39b8b8de7.tar.gz ports-7ec7e2a3cf3c83af42e57736ddd0f1d39b8b8de7.zip |
Notes
Diffstat (limited to 'databases/gtksql')
-rw-r--r-- | databases/gtksql/Makefile | 7 |
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) |