[101904] trunk/dports/science/flann/Portfile
mmoll at macports.org
mmoll at macports.org
Mon Jan 21 07:44:06 PST 2013
Revision: 101904
https://trac.macports.org/changeset/101904
Author: mmoll at macports.org
Date: 2013-01-21 07:44:06 -0800 (Mon, 21 Jan 2013)
Log Message:
-----------
science/flann: improve fix for CUDA variant
Modified Paths:
--------------
trunk/dports/science/flann/Portfile
Modified: trunk/dports/science/flann/Portfile
===================================================================
--- trunk/dports/science/flann/Portfile 2013-01-21 15:39:21 UTC (rev 101903)
+++ trunk/dports/science/flann/Portfile 2013-01-21 15:44:06 UTC (rev 101904)
@@ -5,6 +5,7 @@
name flann
version 1.8.4
+revision 1
categories science devel
maintainers mmoll
description Fast Library for Approximate Nearest Neighbors
@@ -75,7 +76,9 @@
# Nvcc (at least versions 4.2 and 5.0) calls clang with the argument
# "-dumpspecs" which is a gcc-ism. To avoid this problem force
# llvm-gcc-4.2 to be the host compiler
- configure.args-append -DBUILD_CUDA_LIB=ON -DCUDA_HOST_COMPILER=/usr/bin/llvm-gcc-4.2
+ if {[string match "*clang*" ${configure.compiler}]} {
+ configure.args-append -DBUILD_CUDA_LIB=ON -DCUDA_HOST_COMPILER=/usr/bin/llvm-gcc-4.2
+ }
}
livecheck.type regex
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130121/69d3f3aa/attachment.html>
More information about the macports-changes
mailing list