summaryrefslogtreecommitdiff
path: root/lang/gcc/patches/patch-Makefile.in
blob: d461e4b94e66bbf65fd53e7f83ac8d1b481df5d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
$NetBSD: patch-Makefile.in,v 1.1 2011/07/15 08:47:22 asau Exp $

--- Makefile.in.orig	1999-06-22 22:44:42.000000000 +0000
+++ Makefile.in
@@ -1670,8 +1670,8 @@ install-target: $(INSTALL_TARGET_MODULES
 ### other supporting targets
 
 MAKEDIRS= \
-	$(prefix) \
-	$(exec_prefix)
+	$(DESTDIR)$(prefix) \
+	$(DESTDIR)$(exec_prefix)
 .PHONY: installdirs
 installdirs: mkinstalldirs
 	$(SHELL) $(srcdir)/mkinstalldirs $(MAKEDIRS)