summaryrefslogtreecommitdiff
path: root/lang/gcc3-objc/patches/patch-ab
diff options
context:
space:
mode:
authordrochner <drochner>2003-07-06 12:15:03 +0000
committerdrochner <drochner>2003-07-06 12:15:03 +0000
commitbca80f0051097b210a1b98fafed5a2231d694126 (patch)
tree90757239cbac9281a1efbec2ae6d03efee333d33 /lang/gcc3-objc/patches/patch-ab
parent93e3eafc652777c3d2f9db401f7d28580b78ae95 (diff)
downloadpkgsrc-bca80f0051097b210a1b98fafed5a2231d694126.tar.gz
Split the gcc3 pkg into per-language pieces.
Needs some cleanup and integration; eventually lang/gcc3 can turn into a meta-pkg.
Diffstat (limited to 'lang/gcc3-objc/patches/patch-ab')
-rw-r--r--lang/gcc3-objc/patches/patch-ab37
1 files changed, 37 insertions, 0 deletions
diff --git a/lang/gcc3-objc/patches/patch-ab b/lang/gcc3-objc/patches/patch-ab
new file mode 100644
index 00000000000..d43cb90ec09
--- /dev/null
+++ b/lang/gcc3-objc/patches/patch-ab
@@ -0,0 +1,37 @@
+$NetBSD: patch-ab,v 1.1 2003/07/06 12:15:13 drochner Exp $
+
+--- gcc/Makefile.in.orig 2003-04-22 17:50:48.000000000 +0200
++++ gcc/Makefile.in 2003-07-03 17:21:34.000000000 +0200
+@@ -617,8 +617,8 @@
+
+ # Build and host support libraries. FORBUILD is either
+ # .. or ../$(build_alias) depending on whether host != build.
+-LIBIBERTY = ../libiberty/libiberty.a
+-BUILD_LIBIBERTY = @FORBUILD@/libiberty/libiberty.a
++LIBIBERTY = ${prefix}/lib/libiberty.a
++BUILD_LIBIBERTY = ${prefix}/lib/libiberty.a
+
+ # Dependencies on the intl and portability libraries.
+ LIBDEPS= $(INTLDEPS) $(LIBIBERTY)
+@@ -1273,6 +1273,7 @@
+ # Language-independent files.
+
+ DRIVER_DEFINES = \
++ -DLINK_LIBGCC_SPEC="\"%D $(RPATH_FLAG)$(GCC_PREFIX)/lib\"" \
+ -DSTANDARD_STARTFILE_PREFIX=\"$(unlibsubdir)/\" \
+ -DSTANDARD_EXEC_PREFIX=\"$(libdir)/gcc-lib/\" \
+ -DDEFAULT_TARGET_VERSION=\"$(version)\" \
+@@ -2874,11 +2875,11 @@
+ $(INSTALL_DATA) $$f $(DESTDIR)$(infodir)/$$realfile; \
+ done; \
+ else true; fi
+- -if $(SHELL) -c 'install-info --version' >/dev/null 2>&1; then \
++ -if $(SHELL) -c '${INSTALL_INFO} --version' >/dev/null 2>&1; then \
+ if [ -f $(DESTDIR)$(infodir)/dir ] ; then \
+ for f in cpp.info gcc.info gccint.info cppinternals.info; do \
+ if [ -f $(DESTDIR)$(infodir)/$$f ]; then \
+- install-info --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
++ ${INSTALL_INFO} --dir-file=$(DESTDIR)$(infodir)/dir $(DESTDIR)$(infodir)/$$f; \
+ else true; fi; \
+ done; \
+ else true; fi; \