mirror of
https://git.freebsd.org/ports.git
synced 2025-05-20 11:03:09 -04:00
tries to bring plplot_config.h, which is not installed, but plplot_config.h is required when we build plplot. E.g. science/gnudatalanguage does that.
12 lines
399 B
C
12 lines
399 B
C
--- include/plConfig.h.in.orig 2013-12-29 21:11:07.000000000 +0100
|
|
+++ include/plConfig.h.in 2014-03-06 15:35:44.000000000 +0100
|
|
@@ -44,7 +44,8 @@
|
|
#ifndef __PLCONFIG_H__
|
|
#define __PLCONFIG_H__
|
|
|
|
-#ifdef HAVE_CONFIG_H
|
|
+// plplot_config.h won't be installed: don't let it be used by consumers
|
|
+#if defined(HAVE_CONFIG_H) && defined(_IS_BUILDING_PLPLOT_PORT_)
|
|
# include <plplot_config.h>
|
|
#endif
|
|
|