svn commit: r411664 - head/math/ogdf/files
John Marino
marino at FreeBSD.org
Tue Mar 22 14:47:00 UTC 2016
Author: marino
Date: Tue Mar 22 14:46:59 2016
New Revision: 411664
URL: https://svnweb.freebsd.org/changeset/ports/411664
Log:
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
Modified:
head/math/ogdf/files/patch-include_ogdf_internal_basic_config.h
head/math/ogdf/files/patch-test_gtest_gtest.h
Modified: head/math/ogdf/files/patch-include_ogdf_internal_basic_config.h
==============================================================================
--- head/math/ogdf/files/patch-include_ogdf_internal_basic_config.h Tue Mar 22 14:40:56 2016 (r411663)
+++ head/math/ogdf/files/patch-include_ogdf_internal_basic_config.h Tue Mar 22 14:46:59 2016 (r411664)
@@ -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
+
Modified: head/math/ogdf/files/patch-test_gtest_gtest.h
==============================================================================
--- head/math/ogdf/files/patch-test_gtest_gtest.h Tue Mar 22 14:40:56 2016 (r411663)
+++ head/math/ogdf/files/patch-test_gtest_gtest.h Tue Mar 22 14:46:59 2016 (r411664)
@@ -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__
More information about the svn-ports-all
mailing list