summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authortron <tron>2011-09-17 12:56:17 +0000
committertron <tron>2011-09-17 12:56:17 +0000
commit6844decb492cb373d1efa2ad12fb26132721805d (patch)
tree108b2385fb0fbd12d11eafd60e57ed2adf79317d
parenta9e6fb106d842ec7c992acf8792949b5efb32276 (diff)
downloadpkgsrc-6844decb492cb373d1efa2ad12fb26132721805d.tar.gz
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.
-rw-r--r--databases/mysql55-server/Makefile6
1 files changed, 5 insertions, 1 deletions
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