opnsense-ports/math/plplot/files/patch-include_plConfig.h.in
Franco Fichtner bca9d43fda */*: sync with upstream
Taken from: FreeBSD
2015-04-24 06:54:23 +02: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