Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 13 Jan 2017 09:22:28 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r431359 - head/devel/sfml/files
Message-ID:  <201701130922.v0D9MSwU072346@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Jan 13 09:22:28 2017
New Revision: 431359
URL: https://svnweb.freebsd.org/changeset/ports/431359

Log:
  - Try to fix build on DragonFly

Added:
  head/devel/sfml/files/
  head/devel/sfml/files/patch-cmake_Config.cmake   (contents, props changed)

Added: head/devel/sfml/files/patch-cmake_Config.cmake
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/sfml/files/patch-cmake_Config.cmake	Fri Jan 13 09:22:28 2017	(r431359)
@@ -0,0 +1,11 @@
+--- cmake/Config.cmake.orig	2016-11-03 06:50:51 UTC
++++ cmake/Config.cmake
+@@ -27,7 +27,7 @@ elseif(${CMAKE_SYSTEM_NAME} STREQUAL "Li
+         # don't use the OpenGL ES implementation on Linux
+         set(OPENGL_ES 0)
+     endif()
+-elseif(CMAKE_SYSTEM_NAME MATCHES "^k?FreeBSD$")
++elseif(CMAKE_SYSTEM_NAME MATCHES "^k?FreeBSD$" OR CMAKE_SYSTEM_NAME MATCHES "DragonFly")
+     set(SFML_OS_FREEBSD 1)
+     # don't use the OpenGL ES implementation on FreeBSD
+     set(OPENGL_ES 0)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201701130922.v0D9MSwU072346>