[MacPorts] #14085: opendx compilation problem on Leopard
MacPorts
noreply at macports.org
Tue Jun 3 01:40:24 PDT 2008
#14085: opendx compilation problem on Leopard
---------------------------------------+------------------------------------
Reporter: joergf at maths.otago.ac.nz | Owner: gwright at macports.org
Type: defect | Status: new
Priority: Normal | Milestone: Port Bugs
Component: ports | Version: 1.6.0
Resolution: | Keywords: opendx compiletime error
---------------------------------------+------------------------------------
Comment (by kuroyagi at therandomwalker.net):
/System/Library/Frameworks/Security.framework/Headers/cssmconfig.h defines
uint64, uint32, uint16 and uint8 but they were already defined...
define following symbols to avoid this conflict
{{{
---
/opt/local/var/macports/sources/rsync.macports.org/release/ports/science/opendx/Portfile.orig
2008-06-03 17:27:07.000000000 +0900
+++
/opt/local/var/macports/sources/rsync.macports.org/release/ports/science/opendx/Portfile
2008-06-03 17:28:34.000000000 +0900
@@ -51,7 +51,8 @@
JAVAP=/usr/bin/javap \
LDFLAGS="-dylib_file \
/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
-/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
+/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib"
\
+ CPPFLAGS="-D_UINT64 -D_UINT32 -D_UINT16 -D_UINT8"
configure.args --x-includes=/usr/X11R6/include \
--x-libraries=/usr/X11R6/lib \
--with-jni-
path=/System/Library/Frameworks/JavaVM.framework/Headers \
}}}
--
Ticket URL: <http://trac.macports.org/ticket/14085#comment:3>
MacPorts <http://www.macports.org/>
Ports system for Mac OS
More information about the macports-tickets
mailing list