[45145] trunk/dports/databases/db47/Portfile

mcalhoun at macports.org mcalhoun at macports.org
Thu Jan 8 23:48:53 PST 2009


Revision: 45145
          http://trac.macports.org/changeset/45145
Author:   mcalhoun at macports.org
Date:     2009-01-08 23:48:52 -0800 (Thu, 08 Jan 2009)
Log Message:
-----------
db47: Instead of relying on Tcl without having it as a dependency (an error), create tcl variant.
Fixes #17922.

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

Modified: trunk/dports/databases/db47/Portfile
===================================================================
--- trunk/dports/databases/db47/Portfile	2009-01-09 07:36:47 UTC (rev 45144)
+++ trunk/dports/databases/db47/Portfile	2009-01-09 07:48:52 UTC (rev 45145)
@@ -5,6 +5,7 @@
 
 name			db47
 version			4.7.25
+revision        1
 set branch		[join [lrange [split ${version} .] 0 1] {}]
 categories		databases
 maintainers		mcalhoun openmaintainer
@@ -54,8 +55,6 @@
 configure.cmd		../dist/configure
 configure.args		\
     --enable-cxx \
-    --enable-tcl \
-    --with-tcl=${prefix}/lib \
     --enable-java \
     --includedir=\\\${prefix}/include/db${branch} \
     --libdir=\\\${prefix}/lib/db${branch}
@@ -74,6 +73,11 @@
 	}
 }
 
+variant tcl description {build Tcl API} {
+    depends_lib-append     port:tcl
+    configure.args-append  --enable-tcl --with-tcl=${prefix}/lib
+}
+
 livecheck.check regex
 livecheck.url   http://www.oracle.com/technology/documentation/berkeley-db/db/ref/changelog/[join [lrange [split ${version} .] 0 1] .].html
 livecheck.regex {Berkeley DB (\d+(?:\.\d+)*)}
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20090108/3beec4af/attachment.html>


More information about the macports-changes mailing list