mirror of
https://git.freebsd.org/ports.git
synced 2025-05-25 07:26:29 -04:00
GCC 11, GCC 12 and GCC 13 install libgccjit.h and libgccjit++.h in the
same directory.
Fix conflict for lang/gcc12, which is soon to become GCC_DEFAULT, by
installing those files in a directory specific to GCC 12.
See also commit 0338e04504
that fixed the
conflict in the same way for lang/gcc11.
PR: 257060
14 lines
549 B
Text
14 lines
549 B
Text
--- gcc/jit/Make-lang.in.orig 2022-11-02 17:25:43 UTC
|
|
+++ gcc/jit/Make-lang.in
|
|
@@ -355,9 +355,9 @@ jit.install-headers: installdirs
|
|
# Install hooks:
|
|
jit.install-headers: installdirs
|
|
$(INSTALL_DATA) $(srcdir)/jit/libgccjit.h \
|
|
- $(DESTDIR)$(includedir)/libgccjit.h
|
|
+ $(DESTDIR)$(libsubincludedir)/libgccjit.h
|
|
$(INSTALL_DATA) $(srcdir)/jit/libgccjit++.h \
|
|
- $(DESTDIR)$(includedir)/libgccjit++.h
|
|
+ $(DESTDIR)$(libsubincludedir)/libgccjit++.h
|
|
|
|
ifneq (,$(findstring mingw,$(target)))
|
|
jit.install-common: installdirs jit.install-headers
|