Sat Sep 17 12:56:17 2011 UTC ()
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.


(tron)
diff -r1.4 -r1.5 pkgsrc/databases/mysql55-server/Makefile

cvs diff -r1.4 -r1.5 pkgsrc/databases/mysql55-server/Attic/Makefile (expand / switch to unified diff)

--- pkgsrc/databases/mysql55-server/Attic/Makefile 2011/09/17 11:33:35 1.4
+++ pkgsrc/databases/mysql55-server/Attic/Makefile 2011/09/17 12:56:17 1.5
@@ -1,34 +1,38 @@ @@ -1,34 +1,38 @@
1# $NetBSD: Makefile,v 1.4 2011/09/17 11:33:35 tron Exp $ 1# $NetBSD: Makefile,v 1.5 2011/09/17 12:56:17 tron Exp $
2 2
3PKGNAME= ${DISTNAME:S/-/-server-/} 3PKGNAME= ${DISTNAME:S/-/-server-/}
4PKGREVISION= 1 4PKGREVISION= 1
5SVR4_PKGNAME= mysqs 5SVR4_PKGNAME= mysqs
6COMMENT= MySQL 5, a free SQL database (server) 6COMMENT= MySQL 5, a free SQL database (server)
7 7
8CONFLICTS= {mysql-server-[0-9]*,mysql3-server-[0-9]*} 8CONFLICTS= {mysql-server-[0-9]*,mysql3-server-[0-9]*}
9 9
10# might be removed in the future 10# might be removed in the future
11# if mysqld_safe script is installed here, or rc.d script invokes mysqld 11# if mysqld_safe script is installed here, or rc.d script invokes mysqld
12DEPENDS+= mysql-client>=${PKGVERSION_NOREV}:../../databases/mysql55-client 12DEPENDS+= mysql-client>=${PKGVERSION_NOREV}:../../databases/mysql55-client
13 13
14.include "../../databases/mysql55-client/Makefile.common" 14.include "../../databases/mysql55-client/Makefile.common"
15 15
16INFO_FILES= yes 16INFO_FILES= yes
17CMAKE_ARGS+= -DWITH_LIBWRAP=ON 17CMAKE_ARGS+= -DWITH_LIBWRAP=ON
18 18
19.if !empty(PKG_OPTIONS:Membedded-server) 19.if !empty(PKG_OPTIONS:Membedded-server)
20CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER=ON 20CMAKE_ARGS+= -DWITH_EMBEDDED_SERVER=ON
21PLIST.embedded= yes 21PLIST.embedded= yes
 22.else
 23# We only need readline to placate the configure script if we don't build
 24# the embedded server as it is the only binary linked against "readline".
 25BUILDLINK_DEPMETHOD.readline= build
22.endif 26.endif
23 27
24# ndb-cluster does not configure with cmake 28# ndb-cluster does not configure with cmake
25#.if !empty(PKG_OPTIONS:Mndb-cluster) 29#.if !empty(PKG_OPTIONS:Mndb-cluster)
26#CMAKE_ARGS+= -DWITH_NDBCLUSTER_STORAGE_ENGINE=ON 30#CMAKE_ARGS+= -DWITH_NDBCLUSTER_STORAGE_ENGINE=ON
27#REPLACE_PERL+= storage/ndb/tools/ndb_error_reporter 31#REPLACE_PERL+= storage/ndb/tools/ndb_error_reporter
28#REPLACE_PERL+= storage/ndb/tools/ndb_size.pl 32#REPLACE_PERL+= storage/ndb/tools/ndb_size.pl
29#PLIST.ndb= yes 33#PLIST.ndb= yes
30#.endif 34#.endif
31 35
32PLIST_VARS+= embedded ndb auth_socket 36PLIST_VARS+= embedded ndb auth_socket
33 37
34.if ${OPSYS} == "Linux" 38.if ${OPSYS} == "Linux"