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

jmr at macports.org jmr at macports.org
Wed Aug 1 02:57:50 PDT 2012


Revision: 96116
          https://trac.macports.org/changeset/96116
Author:   jmr at macports.org
Date:     2012-08-01 02:57:49 -0700 (Wed, 01 Aug 2012)
Log Message:
-----------
freeradius: add mysql5 variant (#33546)

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

Modified: trunk/dports/sysutils/freeradius/Portfile
===================================================================
--- trunk/dports/sysutils/freeradius/Portfile	2012-08-01 09:30:28 UTC (rev 96115)
+++ trunk/dports/sysutils/freeradius/Portfile	2012-08-01 09:57:49 UTC (rev 96116)
@@ -55,6 +55,15 @@
      configure.args-delete --without-rlm_krb5
 }
 
+variant mysql5 description {Build with MySQL 5 support} {
+    depends_lib-append \
+        port:mysql5
+    configure.args-append \
+    --with-modules=rlm_sql \
+    --with-mysql-lib-dir=${prefix}/lib/mysql5/mysql \
+    --with-mysql-include-dir=${prefix}/include/mysql5
+}
+
 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/20120801/f6a73f9c/attachment.html>


More information about the macports-changes mailing list