components/hexedit/patches/destdir.patch
author Mike Sullivan <Mike.Sullivan@Oracle.COM>
Wed, 29 Aug 2012 11:05:56 -0700
changeset 957 255465c5756f
parent 201 b7a945033974
permissions -rw-r--r--
Close of build 04.
--- hexedit/Makefile.in.orig	Mon Apr 25 12:20:14 2011
+++ hexedit/Makefile.in	Mon Apr 25 12:20:37 2011
@@ -40,7 +40,7 @@
 	rm -f Makefile config.h
 
 install: $(PRODUCT)
-	$(INSTALL) -d -m 755 $(bindir)
-	$(INSTALL) -s -m 755 $(PRODUCT) $(bindir)
-	$(INSTALL) -d -m 755 $(mandir)/man1
-	$(INSTALL) -m 644 $(PRODUCT).1 $(mandir)/man1
+	$(INSTALL) -d -m 755 $(DESTDIR)/$(bindir)
+	$(INSTALL) -s -m 755 $(PRODUCT) $(DESTDIR)/$(bindir)
+	$(INSTALL) -d -m 755 $(DESTDIR)/$(mandir)/man1
+	$(INSTALL) -m 644 $(PRODUCT).1 $(DESTDIR)/$(mandir)/man1