pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/databases/mysql51-server readline isn't just a build d...
details: https://anonhg.NetBSD.org/pkgsrc/rev/41a524d38f31
branches: trunk
changeset: 598345:41a524d38f31
user: sbd <sbd%pkgsrc.org@localhost>
date: Mon Jan 23 08:44:22 2012 +0000
description:
readline isn't just a build dependency, if 'ndb_mgm' is built it has a
full dependency on readline.
Bump PKGREVISION
diffstat:
databases/mysql51-server/Makefile | 12 +++++++-----
1 files changed, 7 insertions(+), 5 deletions(-)
diffs (34 lines):
diff -r 653f92175f52 -r 41a524d38f31 databases/mysql51-server/Makefile
--- a/databases/mysql51-server/Makefile Mon Jan 23 08:36:48 2012 +0000
+++ b/databases/mysql51-server/Makefile Mon Jan 23 08:44:22 2012 +0000
@@ -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 @@
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 @@
.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:
Home |
Main Index |
Thread Index |
Old Index