diff --git a/lang/gcc/4.2/patches/patch-gcc_Makefile_in b/lang/gcc/4.2/patches/patch-gcc_Makefile_in new file mode 100644 index 00000000000..c9fef8bc503 --- /dev/null +++ b/lang/gcc/4.2/patches/patch-gcc_Makefile_in @@ -0,0 +1,14 @@ +$OpenBSD: patch-gcc_Makefile_in,v 1.1 2012/09/23 10:32:16 espie Exp $ +--- gcc/Makefile.in.orig Tue Apr 1 23:26:19 2008 ++++ gcc/Makefile.in Sat Sep 22 09:42:04 2012 +@@ -3865,8 +3865,8 @@ install-headers: $(INSTALL_HEADERS_DIR) + + # Create or recreate the gcc private include file directory. + install-include-dir: installdirs +- -rm -rf $(DESTDIR)$(libsubdir)/include +- mkdir $(DESTDIR)$(libsubdir)/include ++ #-rm -rf $(DESTDIR)$(libsubdir)/include ++ mkdir -p $(DESTDIR)$(libsubdir)/include + -chmod a+rx $(DESTDIR)$(libsubdir)/include + + # Create or recreate the install-tools include file directory.