summaryrefslogtreecommitdiff
path: root/math/plplot/files/patch-include_plConfig.h.in
diff options
context:
space:
mode:
authorThierry Thomas <thierry@FreeBSD.org>2015-04-22 20:16:04 +0000
committerThierry Thomas <thierry@FreeBSD.org>2015-04-22 20:16:04 +0000
commit779c36f5c4677e26ad544b72a061151c7019f23a (patch)
tree3e2945667463e62a9b4af6b4c1f68e4cca2f9215 /math/plplot/files/patch-include_plConfig.h.in
parent- Remove LICENSE (diff)
- 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)
Diffstat (limited to 'math/plplot/files/patch-include_plConfig.h.in')
-rw-r--r--math/plplot/files/patch-include_plConfig.h.in12
1 files changed, 12 insertions, 0 deletions
diff --git a/math/plplot/files/patch-include_plConfig.h.in b/math/plplot/files/patch-include_plConfig.h.in
new file mode 100644
index 000000000000..48a203f8be17
--- /dev/null
+++ b/math/plplot/files/patch-include_plConfig.h.in
@@ -0,0 +1,12 @@
+--- include/plConfig.h.in.orig 2015-04-12 10:08:04 UTC
++++ include/plConfig.h.in
+@@ -43,7 +43,8 @@
+ #ifndef __PLCONFIG_H__
+ #define __PLCONFIG_H__
+
+-#ifdef PLPLOT_HAVE_CONFIG_H
++// plplot_config.h won't be installed: don't let it be used by consumers
++#if defined(PLPLOT_HAVE_CONFIG_H) && defined(_IS_BUILDING_PLPLOT_PORT_)
+ # include <plplot_config.h>
+ #endif
+