[112915] trunk/dports/graphics/openni/Portfile
ryandesign at macports.org
ryandesign at macports.org
Sun Nov 3 19:25:50 PST 2013
Revision: 112915
https://trac.macports.org/changeset/112915
Author: ryandesign at macports.org
Date: 2013-11-03 19:25:50 -0800 (Sun, 03 Nov 2013)
Log Message:
-----------
openni: fix build on Mavericks (#41085)
Modified Paths:
--------------
trunk/dports/graphics/openni/Portfile
Modified: trunk/dports/graphics/openni/Portfile
===================================================================
--- trunk/dports/graphics/openni/Portfile 2013-11-04 03:12:54 UTC (rev 112914)
+++ trunk/dports/graphics/openni/Portfile 2013-11-04 03:25:50 UTC (rev 112915)
@@ -50,6 +50,11 @@
reinplace "s|@PREFIX@|${prefix}|g" ${build.dir}/install.sh \
${worksrcpath}/Platform/Linux/Build/Common/CommonCppMakefile \
${worksrcpath}/Source/OpenNI/XnOpenNI.cpp
+
+ # Mavericks system headers have a function called "equivalent" with which this #define interferes.
+ foreach sample {NiHandTracker NiSimpleViewer NiUserSelection NiUserTracker NiViewer} {
+ reinplace "s|equivalent|openni_equivalent|g" ${worksrcpath}/Samples/${sample}/glh/glh_linear.h
+ }
}
use_configure no
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20131103/008da897/attachment-0001.html>
More information about the macports-changes
mailing list