mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-27 21:29:02 +00:00
35ba9be9a5
The default is mysql322 now, but take mysql321 if it is installed. (mysql321 installs a static libmysqlclient.a only, mysql322 installs a static and shared version of the library. Note that the build dependency to mysql321 is a no op actually. It is in there to improve understanding(?).)
29 lines
875 B
Makefile
29 lines
875 B
Makefile
# New ports collection makefile for: gmysql
|
|
# Version required: 0.3.1
|
|
# Date created: Sun Nov 15 22:07:12 CET 1998
|
|
# Whom: Dirk Froemberg <ibex@physik.TU-Berlin.DE>
|
|
#
|
|
# $Id: Makefile,v 1.3 1999/01/08 14:18:42 dirk Exp $
|
|
#
|
|
|
|
DISTNAME= gmysql-0.3.1
|
|
CATEGORIES= databases
|
|
MASTER_SITES= http://www.loth.demon.co.uk/gmysql/ \
|
|
http://www.physik.TU-Berlin.DE/~ibex/ports/distfiles/
|
|
|
|
MAINTAINER= dirk@FreeBSD.ORG
|
|
|
|
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}
|
|
CONFIGURE_ENV= GTK_CONFIG=${X11BASE}/bin/gtk11-config
|
|
FETCH_BEFORE_ARGS= -b
|
|
|
|
.include <bsd.port.mk>
|