diff options
-rw-r--r-- | mk/mysql.buildlink3.mk | 16 |
1 files changed, 3 insertions, 13 deletions
diff --git a/mk/mysql.buildlink3.mk b/mk/mysql.buildlink3.mk index df14f3cdb17..7480eae884a 100644 --- a/mk/mysql.buildlink3.mk +++ b/mk/mysql.buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: mysql.buildlink3.mk,v 1.17 2013/04/15 22:31:22 abs Exp $ +# $NetBSD: mysql.buildlink3.mk,v 1.18 2013/09/13 11:53:24 obache 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: 56 55 51 50 +# Possible: 56 55 51 # Default: 55 # # === Package-settable variables === @@ -31,7 +31,7 @@ _SYS_VARS.mysql= MYSQL_PKGSRCDIR .include "../../mk/bsd.prefs.mk" MYSQL_VERSION_DEFAULT?= 55 -MYSQL_VERSIONS_ACCEPTED?= 56 55 51 50 +MYSQL_VERSIONS_ACCEPTED?= 56 55 51 # transform the list into individual variables .for mv in ${MYSQL_VERSIONS_ACCEPTED} @@ -53,10 +53,6 @@ _MYSQL_VERSION_INSTALLED= 55 _MYSQL_VERSION_51_INSTALLED= yes _MYSQL_VERSION_INSTALLED= 51 . endif -. if exists(${LOCALBASE}/lib/mysql/libmysqlclient.15.dylib) -_MYSQL_VERSION_50_INSTALLED= yes -_MYSQL_VERSION_INSTALLED= 50 -. endif .else . if exists(${LOCALBASE}/lib/libmysqlclient.so.18) . if exists(${LOCALBASE}/include/mysql/mysql/client_authentication.h) @@ -71,10 +67,6 @@ _MYSQL_VERSION_INSTALLED= 55 _MYSQL_VERSION_51_INSTALLED= yes _MYSQL_VERSION_INSTALLED= 51 . endif -. if exists(${LOCALBASE}/lib/mysql/libmysqlclient.so.15) -_MYSQL_VERSION_50_INSTALLED= yes -_MYSQL_VERSION_INSTALLED= 50 -. endif .endif @@ -121,8 +113,6 @@ MYSQL_PKGSRCDIR= ../../databases/mysql56-client MYSQL_PKGSRCDIR= ../../databases/mysql55-client .elif ${_MYSQL_VERSION} == "51" MYSQL_PKGSRCDIR= ../../databases/mysql51-client -.elif ${_MYSQL_VERSION} == "50" -MYSQL_PKGSRCDIR= ../../databases/mysql5-client .else # force an error PKG_FAIL_REASON+= "[mysql.buildlink3.mk] ${_MYSQL_VERSION} is not a valid mysql package." |