pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: CVS commit: pkgsrc/math/R



On Thu, 2 Aug 2012 01:04:36 +0200 Joerg Sonnenberger wrote:
> As I wrote on the normal lists, this is wrong. It should pass down
> BUILD_ENV or at least ALL_ENV correctly.

How about the following patch then?

Index: Makefile.extension
===================================================================
RCS file: /cvsroot/pkgsrc/math/R/Makefile.extension,v
retrieving revision 1.15
diff -u -r1.15 Makefile.extension
--- Makefile.extension  24 Jul 2012 21:26:27 -0000      1.15
+++ Makefile.extension  2 Aug 2012 09:58:09 -0000
@@ -21,10 +21,13 @@
 
 INSTALLATION_DIRS=     ${R_LIB}
 
+INSTALL_ENV+=  R_LIBS=
+
 do-build:
 
 do-install:
-       LC_ALL=C R_LIBS= ${LOCALBASE}/bin/R CMD INSTALL ${R_PKG_INSTALL_ARGS} 
${WRKDIR}/${R_PKGNAME}
+       ${PKGSRC_SETENV} ${INSTALL_ENV} ${MAKE_ENV} ${LOCALBASE}/bin/R \
+               CMD INSTALL ${R_PKG_INSTALL_ARGS} ${WRKDIR}/${R_PKGNAME}
 
 R_LIB=                 lib/R/library
 R_INST_DIRS?=          ${R_PKGNAME}



Home | Main Index | Thread Index | Old Index