summaryrefslogtreecommitdiff
path: root/devel/gdb/patches/patch-mmalloc_Makefile.in
blob: 366c08fa396cc79f8e03ccd4a3fff79dc5c1fc59 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-mmalloc_Makefile.in,v 1.1 2011/03/05 09:14:24 obache Exp $

* destdir installation support.

--- mmalloc/Makefile.in.orig	2002-11-28 16:48:37.000000000 +0000
+++ mmalloc/Makefile.in
@@ -156,9 +156,9 @@ check: test1.c
 #	./a.out
 
 install:	all install-info
-		$(INSTALL_DATA) $(TARGETLIB) $(libdir)/$(TARGETLIB)n
-		$(RANLIB) $(libdir)/$(TARGETLIB)n
-		mv -f $(libdir)/$(TARGETLIB)n $(libdir)/$(TARGETLIB)
+		$(INSTALL_DATA) $(TARGETLIB) $(DESTDIR)$(libdir)/$(TARGETLIB)n
+		$(RANLIB) $(DESTDIR)$(libdir)/$(TARGETLIB)n
+		mv -f $(DESTDIR)$(libdir)/$(TARGETLIB)n $(DESTDIR)$(libdir)/$(TARGETLIB)
 
 uninstall:	uninstall-info