[103084] trunk/dports/science/flann

mmoll at macports.org mmoll at macports.org
Wed Feb 13 12:04:44 PST 2013


Revision: 103084
          https://trac.macports.org/changeset/103084
Author:   mmoll at macports.org
Date:     2013-02-13 12:04:44 -0800 (Wed, 13 Feb 2013)
Log Message:
-----------
science/flann: include path fix. closes #38052

Modified Paths:
--------------
    trunk/dports/science/flann/Portfile

Added Paths:
-----------
    trunk/dports/science/flann/files/patch-CMakeLists.txt.diff

Modified: trunk/dports/science/flann/Portfile
===================================================================
--- trunk/dports/science/flann/Portfile	2013-02-13 19:08:13 UTC (rev 103083)
+++ trunk/dports/science/flann/Portfile	2013-02-13 20:04:44 UTC (rev 103084)
@@ -5,7 +5,7 @@
 
 name                flann
 version             1.8.4
-revision            1
+revision            2
 categories          science devel
 maintainers         mmoll
 description         Fast Library for Approximate Nearest Neighbors
@@ -26,7 +26,7 @@
                     sha1    e03d9d458757f70f6af1d330ff453e3621550a4f \
                     rmd160  2f067dbe1ad583188a0ef587a13cc3e6179d88b6
 depends_lib         port:hdf5-18
-patchfiles          patch-src-python-CMakeLists.txt.diff
+patchfiles          patch-src-python-CMakeLists.txt.diff patch-CMakeLists.txt.diff
 patch.dir           ${worksrcpath}/${worksrcdir}
 
 # MPI support is automatically disabled if hdf5-18 is installed without the +openmpi variant

Added: trunk/dports/science/flann/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/science/flann/files/patch-CMakeLists.txt.diff	                        (rev 0)
+++ trunk/dports/science/flann/files/patch-CMakeLists.txt.diff	2013-02-13 20:04:44 UTC (rev 103084)
@@ -0,0 +1,11 @@
+--- CMakeLists.txt.orig	2013-02-13 13:58:18.000000000 -0600
++++ CMakeLists.txt	2013-02-13 13:58:55.000000000 -0600
+@@ -141,7 +141,7 @@
+ endif(BUILD_CUDA_LIB)
+ 
+ #set the C/C++ include path to the "include" directory
+-include_directories(${PROJECT_SOURCE_DIR}/src/cpp)
++include_directories(BEFORE ${PROJECT_SOURCE_DIR}/src/cpp)
+ 
+ # require proper c++
+ #add_definitions( "-Wall -ansi -pedantic" )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130213/d4ea6f21/attachment.html>


More information about the macports-changes mailing list