From c5b686aff32861b984645a81f1700f69cc57ab36 Mon Sep 17 00:00:00 2001 From: xtraeme Date: Fri, 29 Oct 2004 07:07:44 +0000 Subject: Use mk/mysql.buildlink3.mk instead of databases/mysql-client/buildlink3.mk, so that we'd not force dependance on specific MySQL version, and instead pick the currently installed mysql*-client (or install the default if there is no mysql-client package installed yet) this makes package buildable with arbitrary MySQL version, such as 3.23.x, 4.0.x or 4.1.x --- net/freeradius/options.mk | 19 +++++-------------- 1 file changed, 5 insertions(+), 14 deletions(-) (limited to 'net/freeradius') diff --git a/net/freeradius/options.mk b/net/freeradius/options.mk index 70f2140c934..65fee035950 100644 --- a/net/freeradius/options.mk +++ b/net/freeradius/options.mk @@ -1,7 +1,7 @@ -# $NetBSD: options.mk,v 1.1 2004/10/02 12:06:03 adrianp Exp $ +# $NetBSD: options.mk,v 1.2 2004/10/29 07:07:44 xtraeme Exp $ PKG_OPTIONS_VAR= PKG_OPTIONS.freeradius -PKG_SUPPORTED_OPTIONS= ldap postgresql73 postgresql74 mysql4 mysql3 snmp +PKG_SUPPORTED_OPTIONS= ldap postgresql73 postgresql74 mysql snmp .include "../../mk/bsd.options.mk" @@ -49,19 +49,10 @@ PLIST_SRC+= ${PKGDIR}/PLIST.pgsql .endif ### -### Use mySQL v4.x for storing user details +### Use MySQL for storing user details ### -.if !empty(PKG_OPTIONS:Mmysql4) -. include "../../databases/mysql4-client/buildlink3.mk" -CONFIGURE_ARGS+= --with-rlm_sql_mysql -PLIST_SRC+= ${PKGDIR}/PLIST.mysql -.endif - -### -### Use mySQL v3.x for storing user details -### -.if !empty(PKG_OPTIONS:Mmysql3) -. include "../../databases/mysql-client/buildlink3.mk" +.if !empty(PKG_OPTIONS:Mmysql) +. include "../../mk/mysql.buildlink3.mk" CONFIGURE_ARGS+= --with-rlm_sql_mysql PLIST_SRC+= ${PKGDIR}/PLIST.mysql .endif -- cgit v1.2.3