openbsd-ports/lang/gfortran/patches/patch-gcc_Makefile_in
steven 6f0b523996 import separate port of gfortran 4.2.1, in sync with the base compiler.
meant to be used on archs that have gcc4 in base, this doesn't require a
full gcc build from ports, and provides libgfortran as a subpackage.

idea from espie some months ago.
2010-10-10 17:39:06 +00:00

55 lines
2.1 KiB
Plaintext

$OpenBSD: patch-gcc_Makefile_in,v 1.1.1.1 2010/10/10 17:39:07 steven Exp $
--- gcc/Makefile.in.orig Thu May 31 17:37:38 2007
+++ gcc/Makefile.in Sun Jun 20 21:22:14 2010
@@ -134,7 +134,7 @@ SUBDIRS =@subdirs@ build
# Selection of languages to be made.
CONFIG_LANGUAGES = @all_selected_languages@
-LANGUAGES = c gcov$(exeext) gcov-dump$(exeext) $(CONFIG_LANGUAGES)
+LANGUAGES = $(CONFIG_LANGUAGES)
# Selection of languages to be made during stage1 build.
BOOT_LANGUAGES = c @all_boot_languages@
@@ -836,15 +836,15 @@ ALL_CFLAGS = $(X_CFLAGS) $(T_CFLAGS) \
ALL_CPPFLAGS = $(INCLUDES) $(CPPFLAGS) $(X_CPPFLAGS) $(T_CPPFLAGS)
# Build and host support libraries.
-LIBIBERTY = ../libiberty/libiberty.a
-BUILD_LIBIBERTY = $(build_libobjdir)/libiberty/libiberty.a
+#LIBIBERTY = ../libiberty/libiberty.a
+#BUILD_LIBIBERTY = $(build_libobjdir)/libiberty/libiberty.a
# Dependencies on the intl and portability libraries.
LIBDEPS= $(CPPLIB) $(LIBIBERTY) $(LIBINTL_DEP) $(LIBICONV_DEP) $(LIBDECNUMBER)
# Likewise, for use in the tools that must run on this machine
# even if we are cross-building GCC.
-BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
+#BUILD_LIBDEPS= $(BUILD_LIBIBERTY)
# How to link with both our special library facilities
# and the system's installed libraries.
@@ -3656,9 +3656,7 @@ maintainer-clean:
# Copy the compiler files into directories where they will be run.
# Install the driver last so that the window when things are
# broken is small.
-install: install-common $(INSTALL_HEADERS) $(INSTALL_LIBGCC) \
- install-cpp install-man install-info install-@POSUB@ \
- install-driver
+install: install-common install-info
# Handle cpp installation.
install-cpp: installdirs cpp$(exeext)
@@ -3751,11 +3749,6 @@ install-driver: installdirs xgcc$(exeext)
# $(INSTALL_DATA) might be a relative pathname, so we can't cd into srcdir
# to do the install.
install-info:: doc installdirs \
- $(DESTDIR)$(infodir)/cpp.info \
- $(DESTDIR)$(infodir)/gcc.info \
- $(DESTDIR)$(infodir)/cppinternals.info \
- $(DESTDIR)$(infodir)/gccinstall.info \
- $(DESTDIR)$(infodir)/gccint.info \
lang.install-info
$(DESTDIR)$(infodir)/%.info: doc/%.info installdirs