aboutsummaryrefslogtreecommitdiff
path: root/databases/gmysql
diff options
context:
space:
mode:
authorDirk Froemberg <dirk@FreeBSD.org>1999-01-14 21:22:29 +0000
committerDirk Froemberg <dirk@FreeBSD.org>1999-01-14 21:22:29 +0000
commit35ba9be9a534990941acbfb19b6c347ca54c1e83 (patch)
tree30ba7104084a1f7f97c5a99e590f3d0dddde9ec4 /databases/gmysql
parent3297c2031fe84458959ab0cb49e55d049f83d4ff (diff)
downloadports-35ba9be9a534990941acbfb19b6c347ca54c1e83.tar.gz
ports-35ba9be9a534990941acbfb19b6c347ca54c1e83.zip
Notes
Diffstat (limited to 'databases/gmysql')
-rw-r--r--databases/gmysql/Makefile8
1 files changed, 6 insertions, 2 deletions
diff --git a/databases/gmysql/Makefile b/databases/gmysql/Makefile
index 74bfb71c257e..ab753f0f3632 100644
--- a/databases/gmysql/Makefile
+++ b/databases/gmysql/Makefile
@@ -3,7 +3,7 @@
# Date created: Sun Nov 15 22:07:12 CET 1998
# Whom: Dirk Froemberg <ibex@physik.TU-Berlin.DE>
#
-# $Id: Makefile,v 1.2 1998/11/17 03:41:45 asami Exp $
+# $Id: Makefile,v 1.3 1999/01/08 14:18:42 dirk Exp $
#
DISTNAME= gmysql-0.3.1
@@ -13,8 +13,12 @@ MASTER_SITES= http://www.loth.demon.co.uk/gmysql/ \
MAINTAINER= dirk@FreeBSD.ORG
-BUILD_DEPENDS= ${PREFIX}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql321
LIB_DEPENDS= gtk11.1:${PORTSDIR}/x11-toolkits/gtk11
+.if !exists(${PREFIX}/lib/mysql/libmysqlclient.a) || exists(${PREFIX}/lib/mysql/libmysqlclient.so)
+LIB_DEPENDS+= mysqlclient.5:${PORTSDIR}/databases/mysql322
+.else
+BUILD_DEPENDS= ${PREFIX}/lib/mysql/libmysqlclient.a:${PORTSDIR}/databases/mysql321
+.endif
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-mysql=${PREFIX}