ports/math/plplot/files/patch-cmake_modules_FindVGA.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

15 lines
584 B
CMake

--- cmake/modules/FindVGA.cmake.orig 2015-04-12 10:08:04 UTC
+++ cmake/modules/FindVGA.cmake
@@ -6,7 +6,6 @@
# VGA_LIBRARIES, the libraries to link against to use the vga library
# VGA_LIBRARY_DIRS, the directory where the vga library is found.
-if(CMAKE_SYSTEM_NAME STREQUAL "Linux")
find_path(VGA_INCLUDE_DIR vga.h /usr/local/include /usr/include)
if(VGA_INCLUDE_DIR)
@@ -33,4 +32,3 @@ else(VGA_FOUND)
message(FATAL_ERROR "FindVGA: Could not find vga.h and/or the vga library")
endif(VGA_FIND_REQUIRED)
endif(VGA_FOUND)
-endif(CMAKE_SYSTEM_NAME STREQUAL "Linux")