openbsd-ports/plan9/rc/patches/patch-Makefile_in
2003-05-15 03:25:56 +00:00

19 lines
959 B
Plaintext

$OpenBSD: patch-Makefile_in,v 1.3 2003/05/15 03:25:56 markus Exp $
--- Makefile.in.orig Wed Jun 7 02:07:28 2000
+++ Makefile.in Wed Jun 7 02:09:33 2000
@@ -517,10 +517,10 @@ trip: rc tripping
./rc -p < $(srcdir)/trip.rc
install-exec-hook:
-@AMC_HISTORY_TRUE@ $(INSTALL_PROGRAM) history $(bindir)/- ;\
-@AMC_HISTORY_TRUE@ rm -f $(bindir)/--; $(LN) $(bindir)/- $(bindir)/-- ;\
-@AMC_HISTORY_TRUE@ rm -f $(bindir)/-p; $(LN) $(bindir)/- $(bindir)/-p ;\
-@AMC_HISTORY_TRUE@ rm -f $(bindir)/--p; $(LN) $(bindir)/- $(bindir)/--p
+@AMC_HISTORY_TRUE@ $(INSTALL_PROGRAM) history $(DESTDIR)$(bindir)/- ;\
+@AMC_HISTORY_TRUE@ cd $(DESTDIR)$(bindir); rm -f ./--; $(LN) ./- -- ;\
+@AMC_HISTORY_TRUE@ cd $(DESTDIR)$(bindir); rm -f ./-p; $(LN) ./- -p ;\
+@AMC_HISTORY_TRUE@ cd $(DESTDIR)$(bindir); rm -f ./--p; $(LN) ./- --p
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.