Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 14 Jan 1999 19:20:31 -0800 (PST)
From:      asami@FreeBSD.ORG (Satoshi Asami)
To:        dirk@FreeBSD.ORG
Cc:        cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG
Subject:   Re: cvs commit: ports/www/apache12-php3/scripts configure.php ports/www/apache13-php3/scripts configure.php ports/databases/gmysql Makefile ports/databases/p5-Mysql Makefile ports/databases/xmysql Makefile ports/databases/xmysqladmin Makefile
Message-ID:  <199901150320.TAA20843@silvia.hip.berkeley.edu>
In-Reply-To: <199901142122.NAA17271@freefall.freebsd.org> (message from Dirk Froemberg on Thu, 14 Jan 1999 13:22:31 -0800 (PST))

next in thread | previous in thread | raw e-mail | index | archive | help
 *   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(?).)

===
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
===

Eek.

You really don't have to go this far.  It could screw up package and
INDEX building, and we can't guarantee that we'll ship packages with
correct dependency information if you use variable dependency lists
like this.

I recommend you to change it to a simple LIB_DEPENDS on mysql322.

Satoshi

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199901150320.TAA20843>