summaryrefslogtreecommitdiff
path: root/math/R/patches/patch-as
blob: 290573ab618549bac9599955cfa8641e5851ea39 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
$NetBSD: patch-as,v 1.2 2004/04/27 11:24:31 markd Exp $

--- src/library/mle/Makefile.in.orig	2004-02-19 08:06:12.000000000 +1300
+++ src/library/mle/Makefile.in
@@ -24,14 +24,14 @@ all: Makefile DESCRIPTION
 	  $(SHELL) $(top_srcdir)/tools/move-if-change $${f} \
 	    $(top_builddir)/library/$(pkg)/R/$(pkg))
 	@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
 
 Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status