[77455] trunk/dports/graphics/openvrml

raphael at macports.org raphael at macports.org
Thu Mar 31 00:21:26 PDT 2011


Revision: 77455
          http://trac.macports.org/changeset/77455
Author:   raphael at macports.org
Date:     2011-03-31 00:21:24 -0700 (Thu, 31 Mar 2011)
Log Message:
-----------
openvrml: fix building with boost 1.46 by applying an upstream patch; see #28980

Modified Paths:
--------------
    trunk/dports/graphics/openvrml/Portfile

Added Paths:
-----------
    trunk/dports/graphics/openvrml/files/
    trunk/dports/graphics/openvrml/files/patch-Makefile.am.diff

Modified: trunk/dports/graphics/openvrml/Portfile
===================================================================
--- trunk/dports/graphics/openvrml/Portfile	2011-03-31 06:13:01 UTC (rev 77454)
+++ trunk/dports/graphics/openvrml/Portfile	2011-03-31 07:21:24 UTC (rev 77455)
@@ -40,6 +40,9 @@
 
 minimum_xcodeversions   {9 3.1}
 
+patchfiles              patch-Makefile.am.diff
+
+use_automake            yes
 configure.args          --disable-script-node-javascript \
                         --disable-script-node-java \
                         --disable-xembed \

Added: trunk/dports/graphics/openvrml/files/patch-Makefile.am.diff
===================================================================
--- trunk/dports/graphics/openvrml/files/patch-Makefile.am.diff	                        (rev 0)
+++ trunk/dports/graphics/openvrml/files/patch-Makefile.am.diff	2011-03-31 07:21:24 UTC (rev 77455)
@@ -0,0 +1,32 @@
+--- src/Makefile.am	2011/02/11 05:14:30	4226
++++ src/Makefile.am	2011/02/11 05:21:26	4227
+@@ -70,7 +70,8 @@
+         -DOPENVRML_PKGDATADIR_=\"$(pkgdatadir)\" \
+         -DOPENVRML_PKGLIBDIR_=\"$(pkglibdir)\" \
+         -DBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS \
+-        -DBOOST_MPL_LIMIT_VECTOR_SIZE=30
++        -DBOOST_MPL_LIMIT_VECTOR_SIZE=30 \
++        -DBOOST_FILESYSTEM_VERSION=2
+ libopenvrml_libopenvrml_la_CXXFLAGS = \
+         $(FREETYPE_CFLAGS) \
+         $(PTHREAD_CFLAGS) \
+@@ -132,7 +133,8 @@
+         local/libopenvrml-dl/openvrml/local/dl.h
+ local_libopenvrml_dl_la_CPPFLAGS = \
+         -I$(top_builddir)/src/libopenvrml \
+-        -I$(top_srcdir)/src/libopenvrml
++        -I$(top_srcdir)/src/libopenvrml \
++        -DBOOST_FILESYSTEM_VERSION=2
+ local_libopenvrml_dl_la_LIBADD = \
+         -lboost_filesystem$(BOOST_LIB_SUFFIX) \
+         -lboost_system$(BOOST_LIB_SUFFIX) \
+@@ -175,7 +177,8 @@
+         -DJAVA_HOME=\"$(JAVA_HOME)\" \
+         -DOPENVRML_JVM_ARCH=\"$(OPENVRML_JVM_ARCH)\" \
+         -DBOOST_MPL_CFG_NO_PREPROCESSED_HEADERS \
+-        -DBOOST_MPL_LIMIT_VECTOR_SIZE=30
++        -DBOOST_MPL_LIMIT_VECTOR_SIZE=30 \
++        -DBOOST_FILESYSTEM_VERSION=2
+ script_java_la_LDFLAGS = \
+         -module \
+         -no-undefined \
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20110331/1c44cffc/attachment.html>


More information about the macports-changes mailing list