summaryrefslogtreecommitdiff
path: root/net/freeradius
diff options
context:
space:
mode:
authorxtraeme <xtraeme@pkgsrc.org>2004-10-29 07:07:44 +0000
committerxtraeme <xtraeme@pkgsrc.org>2004-10-29 07:07:44 +0000
commitc5b686aff32861b984645a81f1700f69cc57ab36 (patch)
tree43c212e5b38d3a7011c811fc3f9a5edc0b760c6b /net/freeradius
parent158484ab169d85767b9cf8cdbeff0d61cc8f13e0 (diff)
downloadpkgsrc-c5b686aff32861b984645a81f1700f69cc57ab36.tar.gz
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
Diffstat (limited to 'net/freeradius')
-rw-r--r--net/freeradius/options.mk19
1 files changed, 5 insertions, 14 deletions
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