[106538] trunk/dports/graphics/OpenSceneGraph-devel/files/patch-CMakeLists. txt.diff
devans at macports.org
devans at macports.org
Thu May 30 01:54:56 PDT 2013
Revision: 106538
https://trac.macports.org/changeset/106538
Author: devans at macports.org
Date: 2013-05-30 01:54:56 -0700 (Thu, 30 May 2013)
Log Message:
-----------
OpenSceneGraph-devel: disable check for libgta, not yet ported to MacPorts.
Modified Paths:
--------------
trunk/dports/graphics/OpenSceneGraph-devel/files/patch-CMakeLists.txt.diff
Modified: trunk/dports/graphics/OpenSceneGraph-devel/files/patch-CMakeLists.txt.diff
===================================================================
--- trunk/dports/graphics/OpenSceneGraph-devel/files/patch-CMakeLists.txt.diff 2013-05-30 08:24:20 UTC (rev 106537)
+++ trunk/dports/graphics/OpenSceneGraph-devel/files/patch-CMakeLists.txt.diff 2013-05-30 08:54:56 UTC (rev 106538)
@@ -1,5 +1,5 @@
---- CMakeLists.txt.orig 2013-05-29 14:21:52.000000000 -0700
-+++ CMakeLists.txt 2013-05-29 14:34:13.000000000 -0700
+--- CMakeLists.txt.orig 2013-05-23 07:14:51.000000000 -0700
++++ CMakeLists.txt 2013-05-30 01:12:28.000000000 -0700
@@ -220,10 +220,10 @@
IF(NOT ANDROID)
IF(APPLE)
@@ -15,7 +15,7 @@
# Trying to get CMake to generate an XCode IPhone project, current efforts are to get iphoneos sdk 3.1 working
# Added option which needs manually setting to select the IPhone SDK for building. We can only have one of the below
# set to true. Should realy have an OSG_BUILD_PLATFORM variable that we set to our desired platform
-@@ -493,14 +493,39 @@
+@@ -493,27 +493,70 @@
ELSE()
# Common to all platforms except android:
FIND_PACKAGE(FreeType)
@@ -31,7 +31,7 @@
- FIND_PACKAGE(COLLADA)
+ OPTION(OSG_ENABLE_OPENEXR "Enable OpenEXR support" OFF)
+ IF(OSG_ENABLE_OPENEXR)
-+ FIND_PACKAGE(OpenEXR)
++ FIND_PACKAGE(OpenEXR)
+ ELSE()
+ SET(OPENEXR_FOUND NO)
+ ENDIF()
@@ -53,21 +53,27 @@
+ ENDIF()
+ OPTION(OSG_ENABLE_OPENVRML "Enable OpenVRML support" OFF)
+ IF(OSG_ENABLE_OPENVRML)
-+ FIND_PACKAGE(OpenVRML)
++ FIND_PACKAGE(OpenVRML)
+ ELSE()
+ SET(OPENVRML_FOUND NO)
+ ENDIF()
FIND_PACKAGE(Performer)
FIND_PACKAGE(GDAL)
- FIND_PACKAGE(GTA)
-@@ -508,12 +533,25 @@
+- FIND_PACKAGE(GTA)
++ OPTION(OSG_ENABLE_GTA "Enable libgta support" OFF)
++ IF(OSG_ENABLE_GTA)
++ FIND_PACKAGE(GTA)
++ ELSE()
++ SET(GTA_FOUND NO)
++ ENDIF()
+ FIND_PACKAGE(CURL)
FIND_PACKAGE(LibVNCServer)
FIND_PACKAGE(OurDCMTK)
FIND_PACKAGE(OpenAL)
- FIND_PACKAGE(FFmpeg)
+ OPTION(OSG_ENABLE_FFMPEG "Enable FFmpeg support" OFF)
+ IF(OSG_ENABLE_FFMPEG)
-+ FIND_PACKAGE(FFmpeg)
++ FIND_PACKAGE(FFmpeg)
+ ELSE()
+ SET(FFMPEG_FOUND NO)
+ ENDIF()
@@ -75,7 +81,7 @@
- FIND_PACKAGE(SDL)
+ OPTION(OSG_ENABLE_SDL "Enable SDL support" OFF)
+ IF(OSG_ENABLE_SDL)
-+ FIND_PACKAGE(SDL)
++ FIND_PACKAGE(SDL)
+ ELSE()
+ SET(SDL_FOUND NO)
+ ENDIF()
@@ -84,7 +90,7 @@
- FIND_PACKAGE(GtkGl)
+ OPTION(OSG_ENABLE_GTKGL "Enable GTK GL widget support" OFF)
+ IF(OSG_ENABLE_GTKGL)
-+ FIND_PACKAGE(GtkGl)
++ FIND_PACKAGE(GtkGl)
+ ENDIF()
FIND_PACKAGE(DirectInput)
FIND_PACKAGE(NVTT)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.macosforge.org/pipermail/macports-changes/attachments/20130530/11fd6906/attachment.html>
More information about the macports-changes
mailing list