From: | "Alfredo Tupone (tupone)" <tupone@g.o> |
---|---|
To: | gentoo-commits@l.g.o |
Subject: | [gentoo-commits] gentoo-x86 commit in dev-games/openscenegraph/files: openscenegraph-2.8.0-magicoff.patch |
Date: | Wed, 25 Feb 2009 14:02:17 |
Message-Id: | E1LcKJd-0008T9-VV@stork.gentoo.org |
1 | tupone 09/02/25 14:00:49 |
2 | |
3 | Added: openscenegraph-2.8.0-magicoff.patch |
4 | Log: |
5 | Making xulrunner an optional dependency. Bug #260187 |
6 | (Portage version: 2.1.6.7/cvs/Linux x86_64) |
7 | |
8 | Revision Changes Path |
9 | 1.1 dev-games/openscenegraph/files/openscenegraph-2.8.0-magicoff.patch |
10 | |
11 | file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/openscenegraph/files/openscenegraph-2.8.0-magicoff.patch?rev=1.1&view=markup |
12 | plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-games/openscenegraph/files/openscenegraph-2.8.0-magicoff.patch?rev=1.1&content-type=text/plain |
13 | |
14 | Index: openscenegraph-2.8.0-magicoff.patch |
15 | =================================================================== |
16 | --- CMakeLists.txt.old 2009-02-25 10:26:47.000000000 +0100 |
17 | +++ CMakeLists.txt 2009-02-25 10:33:07.000000000 +0100 |
18 | @@ -287,6 +287,8 @@ |
19 | INCLUDE(Find3rdPartyDependencies) |
20 | ENDIF(WIN32) |
21 | |
22 | +OPTION(ENABLE_XUL "Enable plugin gecko if xulrunner is available" ON) |
23 | + |
24 | # Common to all platforms: |
25 | FIND_PACKAGE(FreeType) |
26 | FIND_PACKAGE(Inventor) |
27 | @@ -302,7 +304,9 @@ |
28 | FIND_PACKAGE(ITK) |
29 | FIND_PACKAGE(LibVNCServer) |
30 | FIND_PACKAGE(OurDCMTK) |
31 | +IF(ENABLE_XUL) |
32 | FIND_PACKAGE(XUL) |
33 | +ENDIF(ENABLE_XUL) |
34 | |
35 | #use pkg-config to find various modues |
36 | INCLUDE(FindPkgConfig OPTIONAL) |