diff options
author | Maciej Mrozowski <reavertm@gentoo.org> | 2018-06-07 01:14:47 +0200 |
---|---|---|
committer | Maciej Mrozowski <reavertm@gentoo.org> | 2018-06-07 01:15:04 +0200 |
commit | 97527901e870dcf1eca6d8651887352c68ed63fa (patch) | |
tree | e5eef0faac6a81f3f73003acc46b67842de8ad83 /games-simulation/flightgear | |
parent | x11-misc/xkeyboard-config: Version bump 2.24 (diff) | |
download | gentoo-97527901e870dcf1eca6d8651887352c68ed63fa.tar.gz gentoo-97527901e870dcf1eca6d8651887352c68ed63fa.tar.bz2 gentoo-97527901e870dcf1eca6d8651887352c68ed63fa.zip |
games-simulation/flightgear: tests should be optional, fix bug 657350
Package-Manager: Portage-2.3.40, Repoman-2.3.9
Diffstat (limited to 'games-simulation/flightgear')
-rw-r--r-- | games-simulation/flightgear/files/flightgear-2018.2.1-cmake.patch | 11 | ||||
-rw-r--r-- | games-simulation/flightgear/flightgear-2018.2.1.ebuild | 2 |
2 files changed, 13 insertions, 0 deletions
diff --git a/games-simulation/flightgear/files/flightgear-2018.2.1-cmake.patch b/games-simulation/flightgear/files/flightgear-2018.2.1-cmake.patch new file mode 100644 index 000000000000..eca04212833a --- /dev/null +++ b/games-simulation/flightgear/files/flightgear-2018.2.1-cmake.patch @@ -0,0 +1,11 @@ +diff -ruN flightgear-2018.2.1/CMakeLists.txt my/CMakeLists.txt +--- flightgear-2018.2.1/CMakeLists.txt 2018-06-03 09:47:23.000000000 +0200 ++++ my/CMakeLists.txt 2018-06-07 01:09:14.621303443 +0200 +@@ -596,4 +596,6 @@ + + + # The test suite. +-add_subdirectory(test_suite EXCLUDE_FROM_ALL) ++if(ENABLE_TESTS) ++ add_subdirectory(test_suite EXCLUDE_FROM_ALL) ++endif() diff --git a/games-simulation/flightgear/flightgear-2018.2.1.ebuild b/games-simulation/flightgear/flightgear-2018.2.1.ebuild index 69d28c39ce75..15be88e6c57e 100644 --- a/games-simulation/flightgear/flightgear-2018.2.1.ebuild +++ b/games-simulation/flightgear/flightgear-2018.2.1.ebuild @@ -59,6 +59,8 @@ RDEPEND="${COMMON_DEPEND} ~games-simulation/${PN}-data-${PV} " +PATCHES=("${FILESDIR}/${P}-cmake.patch") + DOCS=(AUTHORS ChangeLog NEWS README Thanks) pkg_pretend() { |