[96904] trunk/dports/science/pqp

mww at macports.org mww at macports.org
Tue Aug 21 00:52:55 PDT 2012


Revision: 96904
          https://trac.macports.org/changeset/96904
Author:   mww at macports.org
Date:     2012-08-21 00:52:55 -0700 (Tue, 21 Aug 2012)
Log Message:
-----------
pqp: install more files, remove useless function declarations that lead to cmopiler errors, inc revision

Modified Paths:
--------------
    trunk/dports/science/pqp/Portfile
    trunk/dports/science/pqp/files/CMakeLists.txt

Added Paths:
-----------
    trunk/dports/science/pqp/files/patch-src-PQP_Compile.h.diff

Modified: trunk/dports/science/pqp/Portfile
===================================================================
--- trunk/dports/science/pqp/Portfile	2012-08-21 07:42:45 UTC (rev 96903)
+++ trunk/dports/science/pqp/Portfile	2012-08-21 07:52:55 UTC (rev 96904)
@@ -5,6 +5,7 @@
 
 name                pqp
 version             1.3
+revision            1
 categories          science
 maintainers         mmoll openmaintainer
 description         A library for performing proximity queries
@@ -18,6 +19,8 @@
                     rmd160  cd823db9b6be5208b100b8e55ff7831c9aa24371
 worksrcdir          ${distname}/PQP_v${version}/src
 
+patchfiles          patch-src-PQP_Compile.h.diff
+
 pre-configure {
     xinstall -m 644 -W ${filespath} LICENSE CMakeLists.txt ${worksrcpath}
 }

Modified: trunk/dports/science/pqp/files/CMakeLists.txt
===================================================================
--- trunk/dports/science/pqp/files/CMakeLists.txt	2012-08-21 07:42:45 UTC (rev 96903)
+++ trunk/dports/science/pqp/files/CMakeLists.txt	2012-08-21 07:52:55 UTC (rev 96904)
@@ -7,5 +7,5 @@
 add_library(PQP-static STATIC ${PQP_SRC})
 set_target_properties(PQP-static PROPERTIES OUTPUT_NAME "PQP")
 install(TARGETS PQP PQP-static DESTINATION lib)
-install(FILES BV.h MatVec.h PQP.h PQP_Compile.h PQP_Internal.h Tri.h DESTINATION include/PQP)
-install(FILES LICENSE DESTINATION share/doc/pqp)
\ No newline at end of file
+install(FILES BV.h MatVec.h PQP.h PQP_Compile.h PQP_Internal.h Tri.h BVTQ.h Build.h TriDist.h DESTINATION include/PQP)
+install(FILES LICENSE DESTINATION share/doc/pqp)

Added: trunk/dports/science/pqp/files/patch-src-PQP_Compile.h.diff
===================================================================
--- trunk/dports/science/pqp/files/patch-src-PQP_Compile.h.diff	                        (rev 0)
+++ trunk/dports/science/pqp/files/patch-src-PQP_Compile.h.diff	2012-08-21 07:52:55 UTC (rev 96904)
@@ -0,0 +1,13 @@
+--- src/PQP_Compile.h	2002-04-21 20:25:30.000000000 +0200
++++ PQP_Compile.h	2012-08-21 09:49:42.000000000 +0200
+@@ -44,10 +44,6 @@
+ // prevents compiler warnings when PQP_REAL is float
+ 
+ #include <math.h>
+-inline float sqrt(float x) { return (float)sqrt((double)x); }
+-inline float cos(float x) { return (float)cos((double)x); }
+-inline float sin(float x) { return (float)sin((double)x); }
+-inline float fabs(float x) { return (float)fabs((double)x); }
+ 
+ //-------------------------------------------------------------------------
+ //
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20120821/b62141d4/attachment.html>


More information about the macports-changes mailing list