Files
Marcus Calhoun-Lopez 04a73bb947 gnuplot: allow build with MacPorts compilers
As of C++20, version is a standard header file.
Gnuplot has a file VERSION which is found first.
As a workaround, replace -I with -idirafter.
2019-11-08 14:13:33 -07:00

12 lines
409 B
Diff

--- src/Makefile.in.orig 2019-05-28 20:35:53.000000000 -0700
+++ src/Makefile.in 2019-11-01 18:21:23.000000000 -0700
@@ -206,7 +206,7 @@
am__v_at_ = $(am__v_at_@AM_DEFAULT_V@)
am__v_at_0 = @
am__v_at_1 =
-DEFAULT_INCLUDES = -I.@am__isrc@ -I$(top_builddir)
+DEFAULT_INCLUDES = -I.@am__isrc@ -idirafter$(top_builddir)
depcomp = $(SHELL) $(top_srcdir)/depcomp
am__depfiles_maybe = depfiles
am__mv = mv -f