diff options
Diffstat (limited to 'math/R/patches/patch-af')
-rw-r--r-- | math/R/patches/patch-af | 28 |
1 files changed, 16 insertions, 12 deletions
diff --git a/math/R/patches/patch-af b/math/R/patches/patch-af index 3279e85b5fa..cdfde36e262 100644 --- a/math/R/patches/patch-af +++ b/math/R/patches/patch-af @@ -1,17 +1,21 @@ -$NetBSD: patch-af,v 1.5 2002/12/10 11:58:12 markd Exp $ +$NetBSD: patch-af,v 1.6 2003/12/03 12:05:19 markd Exp $ ---- src/library/ctest/Makefile.in.orig Mon Jul 22 00:32:06 2002 -+++ src/library/ctest/Makefile.in Mon Dec 9 23:59:27 2002 -@@ -29,10 +29,10 @@ - fi; \ +--- src/library/ctest/Makefile.in.orig 2003-09-21 20:13:04.000000000 +1200 ++++ src/library/ctest/Makefile.in +@@ -29,14 +29,14 @@ all: Makefile DESCRIPTION + fi; \ done - @if test -f $(top_builddir)/$(subdir)/DESCRIPTION; then \ -+ echo "Built: R" @VERSION@\; @R_PLATFORM@\; `date` >> \ -+ $(top_builddir)/$(subdir)/DESCRIPTION; \ - $(INSTALL_DATA) $(top_builddir)/$(subdir)/DESCRIPTION \ - $(top_builddir)/library/$(pkg); \ -- echo "Built: R" @VERSION@\; @R_PLATFORM@\; `date` >> \ -- $(top_builddir)/library/$(pkg)/DESCRIPTION; \ + @if test -f DESCRIPTION; then \ +- $(INSTALL_DATA) DESCRIPTION $(top_builddir)/library/$(pkg); \ + (tmp="Built: R $(VERSION); "; \ + if test -d $(srcdir)/src; then \ + tmp="$${tmp}$(R_PLATFORM)"; \ + fi; \ + tmp="$${tmp}; `date`; $(R_OSTYPE)"; \ + echo "$${tmp}") \ +- >> $(top_builddir)/library/$(pkg)/DESCRIPTION; \ ++ >> DESCRIPTION; \ ++ $(INSTALL_DATA) DESCRIPTION $(top_builddir)/library/$(pkg); \ fi @if test -d $(srcdir)/data; then \ $(MKINSTALLDIRS) $(top_builddir)/library/$(pkg)/data; \ |