diff options
Diffstat (limited to 'math/plplot/files/patch-include_plConfig.h.in')
-rw-r--r-- | math/plplot/files/patch-include_plConfig.h.in | 12 |
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 + |