components/hexedit/patches/destdir.patch
author Bill Rushmore <bill.rushmore@oracle.com>
Fri, 17 Oct 2014 07:49:41 -0700
branchs11-update
changeset 3399 ac7c3a176aeb
parent 201 b7a945033974
permissions -rw-r--r--
19768631 problem in UTILITY/PERL

--- 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