ports/devel/rcs/files/patch-man-Makefile
Gerald Pfeifer 5bb50767d4 Update to rcs version 5.9.2.
Nominally this should bring portability improvements except that it
introduces two problems on FreeBSD which we now have to patch locally:

 . FreeBSD date does not feature the -r option GNU date does.
 . makeinfo on FreeBSD before 10.x does not support @geq.

In addition the default for RCS_MEM_LIMIT has grown from 256kiB to
unlimited.

PR:		182809 (requested an update to 5.9.1)
Approved by:	maintainer timeout (zeising, 5 months)
2014-03-08 20:21:55 +00:00

24 lines
914 B
Text

FreeBSD date does not feature the -r option GNU date does.
--- man/Makefile.am.orig 2013-10-04 11:48:45.000000000 +0000
+++ man/Makefile.am 2014-03-08 18:07:52.000000000 +0000
@@ -54,7 +54,7 @@
REL: $(top_srcdir)/configure
@{ echo '.ds Rv $(PACKAGE_VERSION)' ; \
date -u +'.ds Dt %Y-%m-%d' \
- -r $(top_srcdir)/configure ; } > $@t ; \
+ ; } > $@t ; \
if [ -f $@ ] && cmp -s $@t $@ ; \
then rm -f $@t ; \
else mv $@t $@ ; echo Created $@ ; \
--- man/Makefile.in.orig 2013-11-28 09:18:13.000000000 +0000
+++ man/Makefile.in 2014-03-08 18:07:52.000000000 +0000
@@ -1580,7 +1580,7 @@
REL: $(top_srcdir)/configure
@{ echo '.ds Rv $(PACKAGE_VERSION)' ; \
date -u +'.ds Dt %Y-%m-%d' \
- -r $(top_srcdir)/configure ; } > $@t ; \
+ ; } > $@t ; \
if [ -f $@ ] && cmp -s $@t $@ ; \
then rm -f $@t ; \
else mv $@t $@ ; echo Created $@ ; \