summaryrefslogtreecommitdiff
path: root/lang/gcc15-devel/files/patch-gcc_Makefile.in
diff options
context:
space:
mode:
authorLorenzo Salvadore <salvadore@FreeBSD.org>2024-04-29 13:24:08 +0000
committerLorenzo Salvadore <salvadore@FreeBSD.org>2024-04-29 20:21:09 +0000
commit220cbe07cb52ec8d847ac9035e51cccfd37860e0 (patch)
tree5777c2ab0c5c4fba9703affe526f2d897b20a41d /lang/gcc15-devel/files/patch-gcc_Makefile.in
parentlang/lfortran: upgrade to v0.35.0 (diff)
lang/gcc15-devel: Add port
GCC, the GNU Compiler Collection, supports a number of languages. This port installs the C, C++, and Fortran front ends as gcc15, g++15, and gfortran15, respectively. This is the first snapshot from trunk with the GCC 15 designation. It largely is a copy of lang/gcc14-devel.
Diffstat (limited to 'lang/gcc15-devel/files/patch-gcc_Makefile.in')
-rw-r--r--lang/gcc15-devel/files/patch-gcc_Makefile.in19
1 files changed, 19 insertions, 0 deletions
diff --git a/lang/gcc15-devel/files/patch-gcc_Makefile.in b/lang/gcc15-devel/files/patch-gcc_Makefile.in
new file mode 100644
index 000000000000..127c87b1af79
--- /dev/null
+++ b/lang/gcc15-devel/files/patch-gcc_Makefile.in
@@ -0,0 +1,19 @@
+--- gcc/Makefile.in.orig 2024-02-25 22:32:27 UTC
++++ gcc/Makefile.in
+@@ -671,6 +671,8 @@ libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/
+
+ # Directory in which the compiler finds libraries etc.
+ libsubdir = $(libdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
++# Directory in which the compiler finds headers.
++libsubincludedir = $(libdir)/gcc/$(target_alias)/$(version)/include
+ # Directory in which the compiler finds executables
+ libexecsubdir = $(libexecdir)/gcc/$(real_target_noncanonical)/$(version)$(accel_dir_suffix)
+ # Directory in which all plugin resources are installed
+@@ -3821,6 +3823,7 @@ installdirs:
+ # $(libdir)/gcc/include isn't currently searched by cpp.
+ installdirs:
+ $(mkinstalldirs) $(DESTDIR)$(libsubdir)
++ $(mkinstalldirs) $(DESTDIR)$(libsubincludedir)
+ $(mkinstalldirs) $(DESTDIR)$(libexecsubdir)
+ $(mkinstalldirs) $(DESTDIR)$(bindir)
+ $(mkinstalldirs) $(DESTDIR)$(includedir)