From 19c0b7ddca5b3a0664d48038f6857e43c166c846 Mon Sep 17 00:00:00 2001 From: tron Date: Sat, 17 Sep 2011 12:56:17 +0000 Subject: Only make "readlink" a run-time dependence if we are actually building the embedded server which is the only binary that requires the library. No revision bump as there is no changed to the default binary package. --- databases/mysql55-server/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'databases/mysql55-server/Makefile') diff --git a/databases/mysql55-server/Makefile b/databases/mysql55-server/Makefile index 7a6efded1b2..3c2488e6dbb 100644 --- a/databases/mysql55-server/Makefile +++ b/databases/mysql55-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 2011/09/17 11:33:35 tron Exp $ +# $NetBSD: Makefile,v 1.5 2011/09/17 12:56:17 tron Exp $ PKGNAME= ${DISTNAME:S/-/-server-/} PKGREVISION= 1 @@ -19,6 +19,10 @@ CMAKE_ARGS+= -DWITH_LIBWRAP=ON .if !empty(PKG_OPTIONS:Membedded-server) CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER=ON PLIST.embedded= yes +.else +# We only need readline to placate the configure script if we don't build +# the embedded server as it is the only binary linked against "readline". +BUILDLINK_DEPMETHOD.readline= build .endif # ndb-cluster does not configure with cmake -- cgit v1.2.3