[43754] trunk/dports/science/opendx/Portfile

jeremyhu at macports.org jeremyhu at macports.org
Sat Dec 13 23:56:27 PST 2008


Revision: 43754
          http://trac.macports.org/changeset/43754
Author:   jeremyhu at macports.org
Date:     2008-12-13 23:56:26 -0800 (Sat, 13 Dec 2008)
Log Message:
-----------
opendx: autoreconf to find X11 libs on Leopard, punt Xcode 3.0.0 ld64 bug workaround, libXm dependency to path: to allow lesstif

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

Modified: trunk/dports/science/opendx/Portfile
===================================================================
--- trunk/dports/science/opendx/Portfile	2008-12-14 07:52:07 UTC (rev 43753)
+++ trunk/dports/science/opendx/Portfile	2008-12-14 07:56:26 UTC (rev 43754)
@@ -29,13 +29,14 @@
 		port:cosmoplayer	\
 		port:opendx-java40	\
 		port:ImageMagick	\
-		port:openmotif
+		path:lib/libXm.dylib:openmotif
 
+use_autoconf yes
+autoconf.cmd autoreconf
+autoconf.args -fvi
+
 platform darwin 9 {
     configure.cppflags-append -D_UINT64 -D_UINT32 -D_UINT16 -D_UINT8
-    configure.ldflags-append 	-dylib_file \
-			/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib:\
-			/System/Library/Frameworks/OpenGL.framework/Versions/A/Libraries/libGL.dylib
 }
 
 variant no_java	{
@@ -56,9 +57,11 @@
 		JAVA=/usr/bin/java		\
 		JAVAH=/usr/bin/javah		\
 		JAVAP=/usr/bin/javap
-configure.args	--x-includes=${x11prefix}/include	\
-		--x-libraries=${x11prefix}/lib	\
-		--with-jni-path=/System/Library/Frameworks/JavaVM.framework/Headers	\
+
+# For /usr/X11/include/GL even if we're using Macports X11 libs
+configure.cppflags-append "-I${x11prefix}/include"
+
+configure.args	--with-jni-path=/System/Library/Frameworks/JavaVM.framework/Headers	\
 		--with-java40jar-path=${prefix}/share/java/java40.jar	\
 		--with-cosmojar-path=${prefix}/share/java/npcosmop211.jar
 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20081213/11c21009/attachment.html>


More information about the macports-changes mailing list