From f799c41fed21677d428e96816321576bbd6b8720 Mon Sep 17 00:00:00 2001 From: frueauf Date: Mon, 21 Dec 1998 10:29:39 +0000 Subject: Update R to 0.63.1, provided in pr 6618 by Johnny C. Lam. Changes since 0.63.0 are mostly bigfixes and patches that make it actually work properly with NetBSD. --- math/R/Makefile | 21 +++++++++------------ math/R/files/md5 | 4 ++-- math/R/patches/patch-aa | 10 ++++++++++ math/R/patches/patch-ab | 19 +++++++++++++++++++ math/R/patches/patch-ac | 13 +++++++++++++ math/R/patches/patch-ad | 35 +++++++++++++++++++++++++++++++++++ math/R/pkg/PLIST | 22 +++++++++++++++++++--- 7 files changed, 107 insertions(+), 17 deletions(-) create mode 100644 math/R/patches/patch-aa create mode 100644 math/R/patches/patch-ab create mode 100644 math/R/patches/patch-ac create mode 100644 math/R/patches/patch-ad (limited to 'math') diff --git a/math/R/Makefile b/math/R/Makefile index 9c0e89881ab..6c99b71a31a 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -1,8 +1,7 @@ -# $NetBSD: Makefile,v 1.1.1.1 1998/12/04 11:36:03 frueauf Exp $ +# $NetBSD: Makefile,v 1.2 1998/12/21 10:29:39 frueauf Exp $ # -DISTNAME= R-0.63.0 -WRKSRC= ${WRKDIR}/R-0.63 +DISTNAME= R-0.63.1 CATEGORIES= math MASTER_SITES= http://lib.stat.cmu.edu/R/CRAN/src/base/ \ ftp://ftp.biostat.washington.edu/mirrors/R/CRAN/src/base/ \ @@ -19,13 +18,13 @@ MAINTAINER= lamj@stat.cmu.edu HOMEPAGE= http://lib.stat.cmu.edu/R/CRAN/ .if !exists(/usr/bin/f77) -BUILD_DEPENDS+= f2c-19980516p1:../../lang/f2c +DEPENDS+= f2c:../../lang/f2c .endif DEPENDS+= readline-2.2:../../devel/readline -USE_PERL5= yes -USE_GMAKE= yes +CONFLICTS= R-0.63.0 +USE_PERL5= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+=--enable-readline --with-x @@ -40,13 +39,11 @@ R_PAPERSIZE= Letter .endif .endif -CFLAGS+= -I${LOCALBASE}/include LDFLAGS+= -L${LOCALBASE}/lib -CONFIGURE_ENV+= CPPFLAGS=-I${LOCALBASE}/include \ - DLLFLAGS="${LDFLAGS}" \ - R_PAPERSIZE=${R_PAPERSIZE} +CONFIGURE_ENV+= CPPFLAGS="-I${LOCALBASE}/include" \ + R_PAPERSIZE="${R_PAPERSIZE}" -post-build: - ${TOUCH} ${WRKSRC}/library/modreg/data/.keep_me +post-install: + ${RMDIR} ${PREFIX}/share/R/library/modreg/data .include "../../mk/bsd.pkg.mk" diff --git a/math/R/files/md5 b/math/R/files/md5 index 270d6a5e40c..0776e092451 100644 --- a/math/R/files/md5 +++ b/math/R/files/md5 @@ -1,3 +1,3 @@ -$NetBSD: md5,v 1.1.1.1 1998/12/04 11:36:03 frueauf Exp $ +$NetBSD: md5,v 1.2 1998/12/21 10:29:40 frueauf Exp $ -MD5 (R-0.63.0.tgz) = 653906d111252bb3600e18b5bea0a1d1 +MD5 (R-0.63.1.tgz) = 24cc595468a2584328ae30ade1b8e11e diff --git a/math/R/patches/patch-aa b/math/R/patches/patch-aa new file mode 100644 index 00000000000..a6633cad848 --- /dev/null +++ b/math/R/patches/patch-aa @@ -0,0 +1,10 @@ +$NetBSD: patch-aa,v 1.1 1998/12/21 10:29:40 frueauf Exp $ + +--- Makeconf.in.orig Mon Nov 23 04:20:11 1998 ++++ Makeconf.in Sun Dec 20 12:12:22 1998 +@@ -50,4 +50,4 @@ + libdir = @libdir@ + mandir = @mandir@ + +-rhome = @libdir@/R ++rhome = @datadir@/R diff --git a/math/R/patches/patch-ab b/math/R/patches/patch-ab new file mode 100644 index 00000000000..02ce15a7cef --- /dev/null +++ b/math/R/patches/patch-ab @@ -0,0 +1,19 @@ +$NetBSD: patch-ab,v 1.1 1998/12/21 10:29:41 frueauf Exp $ + +--- configure.orig Fri Dec 4 08:06:25 1998 ++++ configure Sun Dec 20 09:54:23 1998 +@@ -3290,6 +3290,14 @@ + *linux) + DLLFLAGS=-export-dynamic + ;; ++ *netbsd*) ++ if ${CPP} - -dM