pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk Remove support for mysql-4.1 and mysql-4.0. Noted b...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/1ca32c7e0938
branches:  trunk
changeset: 540082:1ca32c7e0938
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Wed Mar 26 06:22:49 2008 +0000

description:
Remove support for mysql-4.1 and mysql-4.0. Noted by seb@.

diffstat:

 mk/mysql.buildlink3.mk |  16 +++-------------
 1 files changed, 3 insertions(+), 13 deletions(-)

diffs (51 lines):

diff -r 4f67c286b910 -r 1ca32c7e0938 mk/mysql.buildlink3.mk
--- a/mk/mysql.buildlink3.mk    Wed Mar 26 06:21:46 2008 +0000
+++ b/mk/mysql.buildlink3.mk    Wed Mar 26 06:22:49 2008 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: mysql.buildlink3.mk,v 1.7 2007/09/10 07:18:32 rillig Exp $
+# $NetBSD: mysql.buildlink3.mk,v 1.8 2008/03/26 06:22:49 wiz Exp $
 #
 # This file is included by packages that require some version of the
 # MySQL database client.
@@ -8,7 +8,7 @@
 # MYSQL_VERSION_DEFAULT
 #      The preferred MySQL version.
 #
-#      Possible: 50 41
+#      Possible: 50
 #      Default: 50
 #
 # === Package-settable variables ===
@@ -31,7 +31,7 @@
 .include "../../mk/bsd.prefs.mk"
 
 MYSQL_VERSION_DEFAULT?=                50
-MYSQL_VERSIONS_ACCEPTED?=      50 41
+MYSQL_VERSIONS_ACCEPTED?=      50
 
 # transform the list into individual variables
 .for mv in ${MYSQL_VERSIONS_ACCEPTED}
@@ -43,14 +43,6 @@
 _MYSQL_VERSION_50_INSTALLED=   yes
 .endif
 
-.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.14)
-_MYSQL_VERSION_41_INSTALLED=   yes
-.endif
-
-.if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.12)
-_MYSQL_VERSION_40_INSTALLED=   yes
-.endif
-
 # if a version is explicitely required, take it
 .if defined(MYSQL_VERSION_REQD)
 _MYSQL_VERSION=        ${MYSQL_VERSION_REQD}
@@ -90,8 +82,6 @@
 #
 .if ${_MYSQL_VERSION} == "50"
 MYSQL_PKGSRCDIR=       ../../databases/mysql5-client
-.elif ${_MYSQL_VERSION} == "41"
-MYSQL_PKGSRCDIR=       ../../databases/mysql4-client
 .else
 # force an error
 PKG_FAIL_REASON+=      "[mysql.buildlink3.mk] ${_MYSQL_VERSION} is not a valid mysql package."



Home | Main Index | Thread Index | Old Index