[96296] trunk/dports/sysutils/freeradius/Portfile

ryandesign at macports.org ryandesign at macports.org
Mon Aug 6 23:12:29 PDT 2012


Revision: 96296
          https://trac.macports.org/changeset/96296
Author:   ryandesign at macports.org
Date:     2012-08-06 23:12:27 -0700 (Mon, 06 Aug 2012)
Log Message:
-----------
freeradius: add mysql51, mysql55, mariadb and percona variants

Modified Paths:
--------------
    trunk/dports/sysutils/freeradius/Portfile

Modified: trunk/dports/sysutils/freeradius/Portfile
===================================================================
--- trunk/dports/sysutils/freeradius/Portfile	2012-08-07 06:01:41 UTC (rev 96295)
+++ trunk/dports/sysutils/freeradius/Portfile	2012-08-07 06:12:27 UTC (rev 96296)
@@ -55,7 +55,7 @@
     configure.args-delete --without-rlm_krb5
 }
 
-variant mysql5 description {Build with MySQL 5 support} {
+variant mysql5 conflicts mysql51 mysql55 mariadb percona description {Build with MySQL support using mysql5} {
     depends_lib-append port:mysql5
     configure.args-append \
                         --with-modules=rlm_sql \
@@ -63,6 +63,38 @@
                         --with-mysql-include-dir=${prefix}/include/mysql5
 }
 
+variant mysql51 conflicts mysql5 mysql55 mariadb percona description {Build with MySQL support using mysql51} {
+    depends_lib-append port:mysql51
+    configure.args-append \
+                        --with-modules=rlm_sql \
+                        --with-mysql-lib-dir=${prefix}/lib/mysql51/mysql \
+                        --with-mysql-include-dir=${prefix}/include/mysql51
+}
+
+variant mysql55 conflicts mysql5 mysql51 mariadb percona description {Build with MySQL support using mysql55} {
+    depends_lib-append port:mysql55
+    configure.args-append \
+                        --with-modules=rlm_sql \
+                        --with-mysql-lib-dir=${prefix}/lib/mysql55/mysql \
+                        --with-mysql-include-dir=${prefix}/include/mysql55
+}
+
+variant mariadb conflicts mysql5 mysql51 mysql55 percona description {Build with MySQL support using mariadb} {
+    depends_lib-append port:mariadb
+    configure.args-append \
+                        --with-modules=rlm_sql \
+                        --with-mysql-lib-dir=${prefix}/lib/mysql5/mysql \
+                        --with-mysql-include-dir=${prefix}/include/mysql5
+}
+
+variant percona conflicts mysql5 mysql51 mysql55 mariadb description {Build with MySQL support using percona} {
+    depends_lib-append port:percona
+    configure.args-append \
+                        --with-modules=rlm_sql \
+                        --with-mysql-lib-dir=${prefix}/lib/percona/mysql \
+                        --with-mysql-include-dir=${prefix}/include/percona
+}
+
 livecheck.type          regex
 livecheck.url           [lindex ${master_sites} 0]
 livecheck.regex         ${name}-server-(\[0-9.\]+)\\.tar
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120806/b032e298/attachment.html>


More information about the macports-changes mailing list