ports/shells/rc/files/patch-Makefile.in
Danilo G. Baio c5b23cae91 shells/rc: Update to 1.7.4, Fix build
After ports r440197, there is a build problem with the default option.

- Update to 1.7.4 and fix build
- Move MASTER_SITES to the currently upstream address
- Improve pkg-descr
- Set LICENSE

PR:		219596
Approved by:	garga (mentor), maintainer (timeout)
Differential Revision:	https://reviews.freebsd.org/D11126
2017-06-10 15:13:34 +00:00

17 lines
960 B
Text

--- Makefile.in.orig 2017-05-27 01:41:41 UTC
+++ Makefile.in
@@ -945,10 +945,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@ rm -f $(DESTDIR)$(bindir)/--; $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/-- ;\
+@AMC_HISTORY_TRUE@ rm -f $(DESTDIR)$(bindir)/-p; $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/-p ;\
+@AMC_HISTORY_TRUE@ rm -f $(DESTDIR)$(bindir)/--p; $(LN) $(DESTDIR)$(bindir)/- $(DESTDIR)$(bindir)/--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.