summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authormarkd <markd>2003-12-19 11:43:19 +0000
committermarkd <markd>2003-12-19 11:43:19 +0000
commit7bc0450d2a9045ebc0544ec2f69f49f24a4ff6cc (patch)
tree513bd6006de5d88e6e639d8a47790fa8ba32bc71
parentdd10d60c78c3063c96fac293ac9a6b5b1588dee2 (diff)
downloadpkgsrc-7bc0450d2a9045ebc0544ec2f69f49f24a4ff6cc.tar.gz
Fix building when non-root.
Closes PR pkg/23760
-rw-r--r--math/R/distinfo3
-rw-r--r--math/R/patches/patch-as21
2 files changed, 23 insertions, 1 deletions
diff --git a/math/R/distinfo b/math/R/distinfo
index 96b039cac59..31fbad84082 100644
--- a/math/R/distinfo
+++ b/math/R/distinfo
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.13 2003/12/03 12:05:18 markd Exp $
+$NetBSD: distinfo,v 1.14 2003/12/19 11:43:19 markd Exp $
SHA1 (R-1.8.1.tgz) = 397511dcef3a04ebb67ef23988f5c32eee72fe95
Size (R-1.8.1.tgz) = 9407628 bytes
@@ -20,3 +20,4 @@ SHA1 (patch-ao) = c99629da4329e67d1adbb48cd89a50531743d63f
SHA1 (patch-ap) = b75680bae0d75f417c74d2137ba4b43ec1428131
SHA1 (patch-aq) = 512d7613bbba00c0cb3e4543812f734159e12a92
SHA1 (patch-ar) = 5cc4a77c253a77a564433187babb0135ccb84eaf
+SHA1 (patch-as) = 37db149821a49c86463683f3b82e8a763bbfcd1b
diff --git a/math/R/patches/patch-as b/math/R/patches/patch-as
new file mode 100644
index 00000000000..842fa62dd44
--- /dev/null
+++ b/math/R/patches/patch-as
@@ -0,0 +1,21 @@
+$NetBSD: patch-as,v 1.1 2003/12/19 11:43:19 markd Exp $
+
+--- src/library/mle/Makefile.in.orig 2003-09-24 08:56:52.000000000 +1200
++++ src/library/mle/Makefile.in
+@@ -29,14 +29,14 @@ all: Makefile DESCRIPTION
+ fi; \
+ done
+ @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; \