freebsd-ports/math/plplot/files/patch-include_plConfig.h.in
Thierry Thomas 779c36f5c4 - 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)
2015-04-22 20:16:04 +00:00

12 lines
365 B
C

--- 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