ports/math/plplot/files/patch-cmake_modules_linuxvga.cmake
Thierry Thomas 779c36f5c4 - Upgrade math/plplot to 5.11.0
Announcement at
  <https://sourceforge.net/p/plplot/plplot/ci/plplot-5.11.0/tree/README.release>

- Take maintainership

- Chase dependencies.

PR:		ports/199539
Submitted by:	Ben Woods <woodsb02 (at) gmail.com>
Approved by:	marino (for plplot-ada), /me (for gnudatalanguage)
2015-04-22 20:16:04 +00:00

17 lines
650 B
CMake

--- cmake/modules/linuxvga.cmake.orig 2015-04-12 10:08:04 UTC
+++ cmake/modules/linuxvga.cmake
@@ -35,7 +35,6 @@
# set the environment variable CMAKE_LIBRARY_PATH.
# See cmake documentation for further details.
-if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
if(PLD_linuxvga)
find_package(VGA)
if(VGA_FOUND)
@@ -50,6 +49,3 @@ if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
set(PLD_linuxvga OFF CACHE BOOL "Enable linuxvga device" FORCE)
endif(VGA_FOUND)
endif(PLD_linuxvga)
-else(CMAKE_SYSTEM_NAME STREQUAL "Linux")
- set(PLD_linuxvga OFF CACHE BOOL "Enable linuxvga device" FORCE)
-endif(CMAKE_SYSTEM_NAME STREQUAL "Linux")