[48652] trunk/dports/databases/db45/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Thu Mar 26 13:21:43 PDT 2009


Revision: 48652
          http://trac.macports.org/changeset/48652
Author:   mcalhoun at macports.org
Date:     2009-03-26 13:21:43 -0700 (Thu, 26 Mar 2009)
Log Message:
-----------
db45: Add variant to build Tcl API.

Modified Paths:
--------------
    trunk/dports/databases/db45/Portfile

Modified: trunk/dports/databases/db45/Portfile
===================================================================
--- trunk/dports/databases/db45/Portfile	2009-03-26 20:20:49 UTC (rev 48651)
+++ trunk/dports/databases/db45/Portfile	2009-03-26 20:21:43 UTC (rev 48652)
@@ -50,6 +50,12 @@
 destroot.destdir	prefix=${destroot}${prefix} \
 				docdir=${destroot}${prefix}/share/${name}-${version}/
 
+variant tcl description {build Tcl API} {
+    depends_lib-append     port:tcl
+    configure.args-delete  --disable-tcl
+    configure.args-append  --enable-tcl --with-tcl=${prefix}/lib
+}
+
 post-destroot {
 	delete ${destroot}${prefix}/share
 	foreach lib { libdb.a libdb_cxx.a } {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090326/8c9e2b15/attachment.html>


More information about the macports-changes mailing list