summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsbd <sbd>2012-01-23 08:44:22 +0000
committersbd <sbd>2012-01-23 08:44:22 +0000
commit53e44174b1f643a244df7bae44f5318c9a8d09b2 (patch)
treed3282a1b5306872a0933ea40fef173e5723aba7a
parentd99dc68f4fe5e4ec3a516c66e30a17e92b82560c (diff)
downloadpkgsrc-53e44174b1f643a244df7bae44f5318c9a8d09b2.tar.gz
readline isn't just a build dependency, if 'ndb_mgm' is built it has a
full dependency on readline. Bump PKGREVISION
-rw-r--r--databases/mysql51-server/Makefile12
1 files changed, 7 insertions, 5 deletions
diff --git a/databases/mysql51-server/Makefile b/databases/mysql51-server/Makefile
index 2b1b82f3fea..c434785e054 100644
--- a/databases/mysql51-server/Makefile
+++ b/databases/mysql51-server/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.8 2010/11/14 16:39:36 adam Exp $
+# $NetBSD: Makefile,v 1.9 2012/01/23 08:44:22 sbd Exp $
PKGNAME= ${DISTNAME:S/-/-server-/}
SVR4_PKGNAME= mysqs
@@ -25,6 +25,7 @@ CONFIGURE_ARGS+= --with-plugins=innobase,ndbcluster
REPLACE_PERL+= storage/ndb/tools/ndb_error_reporter \
storage/ndb/tools/ndb_size.pl
PLIST.ndb= yes
+BUILDLINK_DEPMETHOD.readline= full
.else
CONFIGURE_ARGS+= --with-plugins=innobase
.endif
@@ -84,11 +85,12 @@ CXXFLAGS+= -D_POSIX_C_SOURCE=199506L -D__EXTENSIONS__
.include "../../databases/mysql51-client/buildlink3.mk"
.include "../../security/tcp_wrappers/buildlink3.mk"
-# We only need readline to placate the configure script. None of the
-# binaries are actually linked against -lreadline, so make this only
-# a build-time dependency.
+# Only 'ndb_mgm' needs readline otherwise we only need it to placate the
+# configure script. As ndb_mgm is only build if the 'ndb-cluster' option
+# is enabled that option sets a full dependency on readline otherwise
+# make this only a build-time dependency.
#
-BUILDLINK_DEPMETHOD.readline= build
+BUILDLINK_DEPMETHOD.readline?= build
.include "../../devel/readline/buildlink3.mk"
post-configure: