aboutsummaryrefslogtreecommitdiff
path: root/math/ogdf
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2016-03-22 14:46:59 +0000
committerJohn Marino <marino@FreeBSD.org>2016-03-22 14:46:59 +0000
commit37f26af77e9812987049733fe7d51fd7aa2687bb (patch)
treebbaa87135677f37165d7063b000c756e76e773db /math/ogdf
parentcfdd1038abe825d9e09e0e59e6788726ceadf539 (diff)
downloadports-37f26af77e9812987049733fe7d51fd7aa2687bb.tar.gz
ports-37f26af77e9812987049733fe7d51fd7aa2687bb.zip
math/ogdf: Unbreak DragonFly
DragonFly needs the same modifications as FreeBSD. They were carried in dports before, but the macros were moved to new files. Approved by: Restore DF functionality blanket
Notes
Notes: svn path=/head/; revision=411664
Diffstat (limited to 'math/ogdf')
-rw-r--r--math/ogdf/files/patch-include_ogdf_internal_basic_config.h2
-rw-r--r--math/ogdf/files/patch-test_gtest_gtest.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/math/ogdf/files/patch-include_ogdf_internal_basic_config.h b/math/ogdf/files/patch-include_ogdf_internal_basic_config.h
index 41db79e231d8..834170433995 100644
--- a/math/ogdf/files/patch-include_ogdf_internal_basic_config.h
+++ b/math/ogdf/files/patch-include_ogdf_internal_basic_config.h
@@ -5,7 +5,7 @@
#endif
+// Note: FreeBSD machines will be both OGDF_SYSTEM_UNIX and OGDF_SYSTEM_OSX
-+#if defined(__FreeBSD__)
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+#define OGDF_SYSTEM_FREEBSD
+#endif
+
diff --git a/math/ogdf/files/patch-test_gtest_gtest.h b/math/ogdf/files/patch-test_gtest_gtest.h
index 541e6ec2dd46..a62ad8bdb911 100644
--- a/math/ogdf/files/patch-test_gtest_gtest.h
+++ b/math/ogdf/files/patch-test_gtest_gtest.h
@@ -12,7 +12,7 @@
# define GTEST_OS_HPUX 1
#elif defined __native_client__
# define GTEST_OS_NACL 1
-+#elif defined(__FreeBSD__)
++#elif defined(__FreeBSD__) || defined(__DragonFly__)
+# define GTEST_OS_FREEBSD 1
+# define GTEST_USE_OWN_TR1_TUPLE 1
#endif // __CYGWIN__