ports/math/ogdf/files/patch-include_ogdf_basic_internal_config.h
Alexey Dokuchaev 8369734c89 - Resurrect, unbreak, and update to version 2020.02 (Catalpa)
- The build is purely CMake-based now and doesn't use any shell
  or Python helper scripts
- Keep PLIST_SUB+=COIN="" to reduce the churn on the pkg-plist,
  will be cleaned up separately (COIN support is now mandatory)
- Chase 301 Moved Permanently redirect in the WWW line of the
  port description while here
2020-06-24 12:19:03 +00:00

14 lines
375 B
C++

--- include/ogdf/basic/internal/config.h.orig 2015-05-29 15:36:28 UTC
+++ include/ogdf/basic/internal/config.h
@@ -95,6 +95,11 @@ using std::string;
#define OGDF_SYSTEM_OSX
#endif
+// Note: FreeBSD machines will be both OGDF_SYSTEM_UNIX and OGDF_SYSTEM_OSX
+#if defined(__FreeBSD__) || defined(__DragonFly__)
+#define OGDF_SYSTEM_FREEBSD
+#endif
+
// C++11 standard