[66204] trunk/dports/graphics/OpenSceneGraph/Portfile

ryandesign at macports.org ryandesign at macports.org
Wed Apr 7 01:21:39 PDT 2010


Revision: 66204
          http://trac.macports.org/changeset/66204
Author:   ryandesign at macports.org
Date:     2010-04-07 01:21:36 -0700 (Wed, 07 Apr 2010)
Log Message:
-----------
OpenSceneGraph: update to 2.8.3 which fixes the build on Snow Leopard (#22589), and fix install_name (see #17577)

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

Modified: trunk/dports/graphics/OpenSceneGraph/Portfile
===================================================================
--- trunk/dports/graphics/OpenSceneGraph/Portfile	2010-04-07 07:54:53 UTC (rev 66203)
+++ trunk/dports/graphics/OpenSceneGraph/Portfile	2010-04-07 08:21:36 UTC (rev 66204)
@@ -3,7 +3,7 @@
 PortSystem              1.0
 
 name                    OpenSceneGraph
-version                 2.8.2
+version                 2.8.3
 set inconvenient_version    [strsed ${version} {/\.0$//}]
 maintainers             ryandesign openmaintainer
 license                 OpenSceneGraph-0.0 wxWindows-3 LGPL-2.1
@@ -20,10 +20,15 @@
                         useful in fields such as visual simulation, games, \
                         virtual reality, scientific visualization and modelling
 
-checksums               md5     99d0b37f403b85b4559514b6b9849d9e \
-                        sha1    f2f0a3285a022640345a81f536459f37f3f38d01 \
-                        rmd160  3933b2395e36950c870f32db2fcddc7cc220e228
+checksums               md5     dc43b9161555c4eab7f5a678dd4e01ab \
+                        sha1    90502e4cbd47aac1689cc39d25ab62bbe0bba9fc \
+                        rmd160  40a4988f4aefff7dbb6aab5225204ae41c945277
 
+post-extract {
+    # DOS to UNIX line endings
+    reinplace "s|\r||g" ${worksrcpath}/CMakeLists.txt
+}
+
 patchfiles              patch-CMakeLists.txt.diff
 
 depends_build           port:cmake
@@ -33,7 +38,8 @@
 
 configure.cmd           cmake
 configure.pre_args      -DCMAKE_INSTALL_PREFIX=${prefix}
-configure.args          -DCMAKE_BUILD_TYPE=Release
+configure.args          -DCMAKE_BUILD_TYPE=Release \
+                        -DCMAKE_INSTALL_NAME_DIR=${prefix}/lib
 
 platform darwin {
     if {${os.major} < 9} {
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20100407/6f21b7e8/attachment.html>


More information about the macports-changes mailing list