diff options
author | tron <tron@pkgsrc.org> | 2011-09-17 12:56:17 +0000 |
---|---|---|
committer | tron <tron@pkgsrc.org> | 2011-09-17 12:56:17 +0000 |
commit | 19c0b7ddca5b3a0664d48038f6857e43c166c846 (patch) | |
tree | 108b2385fb0fbd12d11eafd60e57ed2adf79317d /databases/mysql55-server/Makefile | |
parent | 670b172f87b83b5ef0b7219381e436f90f29b3c1 (diff) | |
download | pkgsrc-19c0b7ddca5b3a0664d48038f6857e43c166c846.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.
Diffstat (limited to 'databases/mysql55-server/Makefile')
-rw-r--r-- | databases/mysql55-server/Makefile | 6 |
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 |