Mon Dec 12 06:49:26 2011 UTC ()
This needs a pile more tex packages to build successfully in a clean
environment. Note: some of the ones I'm adding may not be absolutely
required; I made this list by checking atimes after building R with
all tex stuff available, and confirmed that with (only) these packages
available it does build.

It doesn't help that the R makefile, apparently intentionally, doesn't
stop if running tex fails.


(dholland)
diff -r1.122 -r1.123 pkgsrc/math/R/Makefile

cvs diff -r1.122 -r1.123 pkgsrc/math/R/Makefile (expand / switch to unified diff)

--- pkgsrc/math/R/Makefile 2011/12/11 21:10:05 1.122
+++ pkgsrc/math/R/Makefile 2011/12/12 06:49:26 1.123
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1# $NetBSD: Makefile,v 1.122 2011/12/11 21:10:05 dholland Exp $ 1# $NetBSD: Makefile,v 1.123 2011/12/12 06:49:26 dholland Exp $
2 2
3DISTNAME= R-2.14.0 3DISTNAME= R-2.14.0
4PKGREVISION= 1 4PKGREVISION= 1
5CATEGORIES= math 5CATEGORIES= math
6MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-2/} 6MASTER_SITES= ${MASTER_SITE_R_CRAN:=base/R-2/}
7 7
8MAINTAINER= markd@NetBSD.org 8MAINTAINER= markd@NetBSD.org
9HOMEPAGE= http://www.R-project.org/ 9HOMEPAGE= http://www.R-project.org/
10COMMENT= Statistical language for data analysis and graphics 10COMMENT= Statistical language for data analysis and graphics
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13#needs FPC code not found in older versions of NetBSD 13#needs FPC code not found in older versions of NetBSD
14NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-alpha NetBSD-1.5-alpha \ 14NOT_FOR_PLATFORM= NetBSD-1.[0-4]*-alpha NetBSD-1.5-alpha \
@@ -86,27 +86,44 @@ R_PAPERSIZE?= A4 @@ -86,27 +86,44 @@ R_PAPERSIZE?= A4
86.endif 86.endif
87.if (${R_PAPERSIZE} == "Letterdj") 87.if (${R_PAPERSIZE} == "Letterdj")
88R_PAPERSIZE= Letter 88R_PAPERSIZE= Letter
89.endif 89.endif
90CONFIGURE_ENV+= R_PAPERSIZE=${R_PAPERSIZE:Q} 90CONFIGURE_ENV+= R_PAPERSIZE=${R_PAPERSIZE:Q}
91 91
92# These macros are used during the build, so strip off the -o,-g flags. 92# These macros are used during the build, so strip off the -o,-g flags.
93INSTALL_DATA= ${INSTALL} ${COPY} -m ${SHAREMODE} 93INSTALL_DATA= ${INSTALL} ${COPY} -m ${SHAREMODE}
94INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE} 94INSTALL_SCRIPT= ${INSTALL} ${COPY} -m ${BINMODE}
95 95
96# to build NEWS.pdf 96# to build NEWS.pdf
97BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin 97BUILD_DEPENDS+= tex-latex-bin-[0-9]*:../../print/tex-latex-bin
98BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont 98BUILD_DEPENDS+= tex-metafont-[0-9]*:../../fonts/tex-metafont
 99BUILD_DEPENDS+= tex-ae-[0-9]*:../../fonts/tex-ae
99BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec 100BUILD_DEPENDS+= tex-ec-[0-9]*:../../fonts/tex-ec
 101BUILD_DEPENDS+= tex-tools-[0-9]*:../../print/tex-tools
 102BUILD_DEPENDS+= tex-url-[0-9]*:../../print/tex-url
 103BUILD_DEPENDS+= tex-oberdiek-[0-9]*:../../print/tex-oberdiek
 104BUILD_DEPENDS+= tex-amsfonts-[0-9]*:../../fonts/tex-amsfonts
 105BUILD_DEPENDS+= tex-cm-[0-9]*:../../fonts/tex-cm
 106BUILD_DEPENDS+= tex-cm-super-[0-9]*:../../fonts/tex-cm-super
 107BUILD_DEPENDS+= tex-fontname-[0-9]*:../../fonts/tex-fontname
 108BUILD_DEPENDS+= tex-graphics-[0-9]*:../../print/tex-graphics
 109BUILD_DEPENDS+= tex-hyperref-[0-9]*:../../print/tex-hyperref
 110BUILD_DEPENDS+= tex-ifluatex-[0-9]*:../../print/tex-ifluatex
 111BUILD_DEPENDS+= tex-ifxetex-[0-9]*:../../print/tex-ifxetex
 112BUILD_DEPENDS+= tex-latex-[0-9]*:../../print/tex-latex
 113BUILD_DEPENDS+= tex-latexconfig-[0-9]*:../../print/tex-latexconfig
 114BUILD_DEPENDS+= tex-mptopdf-[0-9]*:../../graphics/tex-mptopdf
 115BUILD_DEPENDS+= tex-pdftex-def-[0-9]*:../../print/tex-pdftex
 116
100 117
101BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3 118BUILDLINK_API_DEPENDS.zlib+= zlib>=1.2.3
102BUILDLINK_API_DEPENDS.bzip2+= bzip2>=1.0.5 119BUILDLINK_API_DEPENDS.bzip2+= bzip2>=1.0.5
103 120
104.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*) 121.if ${OPSYS} == "NetBSD" && !empty(OS_VERSION:M1.[0-6]*)
105CONFIGURE_ARGS+= --enable-mbcs=no 122CONFIGURE_ARGS+= --enable-mbcs=no
106.endif 123.endif
107 124
108.include "../../archivers/bzip2/buildlink3.mk" 125.include "../../archivers/bzip2/buildlink3.mk"
109.include "../../archivers/xz/buildlink3.mk" 126.include "../../archivers/xz/buildlink3.mk"
110.include "../../converters/libiconv/buildlink3.mk" 127.include "../../converters/libiconv/buildlink3.mk"
111.include "../../devel/gettext-lib/buildlink3.mk" 128.include "../../devel/gettext-lib/buildlink3.mk"
112.include "../../devel/pcre/buildlink3.mk" 129.include "../../devel/pcre/buildlink3.mk"