[61737] trunk/dports/python/py26-pymvpa/Portfile
jameskyle at macports.org
jameskyle at macports.org
Sun Dec 20 12:36:36 PST 2009
Revision: 61737
http://trac.macports.org/changeset/61737
Author: jameskyle at macports.org
Date: 2009-12-20 12:36:35 -0800 (Sun, 20 Dec 2009)
Log Message:
-----------
Corrected some build environment variables.
Fixed an issue where libsvm was not being linked/built.
Modified Paths:
--------------
trunk/dports/python/py26-pymvpa/Portfile
Modified: trunk/dports/python/py26-pymvpa/Portfile
===================================================================
--- trunk/dports/python/py26-pymvpa/Portfile 2009-12-20 20:34:56 UTC (rev 61736)
+++ trunk/dports/python/py26-pymvpa/Portfile 2009-12-20 20:36:35 UTC (rev 61737)
@@ -34,29 +34,39 @@
depends_build port:git-core
-configure.args
+configure.env CC=${prefix}/bin/gcc-mp-4.3 \
+ CPP=${prefix}/bin/gcc-mp-4.3
+build.env CC=${prefix}/bin/gcc-mp-4.3 \
+ CPP=${prefix}/bin/gcc-mp-4.3
+
+destroot.env CC=${prefix}/bin/gcc-mp-4.3 \
+ CPP=${prefix}/bin/gcc-mp-4.3
+
+configure.args --with-libsvm
+build.args --with-libsvm
patch.pre_args -p1
patchfiles patch-mvpa.diff setup-py.diff
build.target build_ext
+configure.compiler macports-gcc-4.3
pre-fetch {
if {[file exists ${prefix}/share/doc/mvpa]} {
ui_error "It appears the 2.5 version of mvpa is installed"
ui_error "Only one version of pymvpa can be installed at one time"
return -code error "multiple mvpa installs detected"
}
-
-
+
+
if {![variant_isset no_shogun]} {
if {![file exists ${python.pkgd}/sg.so]} {
ui_error "To install pymvpa with the shogun variant, shogun must be installed with the python variant."
return -code error "incompatible shogun installation"
}
}
-
+
}
variant no_shogun description {Do not build shogun} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20091220/d435bf67/attachment.html>
More information about the macports-changes
mailing list