diff options
author | mishka <mishka> | 2013-01-17 11:09:44 +0000 |
---|---|---|
committer | mishka <mishka> | 2013-01-17 11:09:44 +0000 |
commit | 48f8d5ff46fb12222ef3d6c2c30f2da04fb4cc6d (patch) | |
tree | 2dbddd8d1f07176c15ab0eaa812ff19400263347 /math/R | |
parent | 8dcbe3528046f05554b6b0e3a1e43179c77e568d (diff) | |
download | pkgsrc-48f8d5ff46fb12222ef3d6c2c30f2da04fb4cc6d.tar.gz |
Some R libraries may extensively use GNU configure, so pass
the obvious CONFIGURE_ARGS through.
Diffstat (limited to 'math/R')
-rw-r--r-- | math/R/Makefile.extension | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/math/R/Makefile.extension b/math/R/Makefile.extension index 56575d5ac44..9000b0f6f76 100644 --- a/math/R/Makefile.extension +++ b/math/R/Makefile.extension @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.extension,v 1.17 2012/09/11 23:04:16 asau Exp $ +# $NetBSD: Makefile.extension,v 1.18 2013/01/17 11:09:44 mishka Exp $ # # This Makefile fragment is included by packages for R library packages. # @@ -33,6 +33,10 @@ R_INST_DIRS?= ${R_PKGNAME} R_HOMEPAGE_BASE= http://cran.r-project.org/web/packages R_PKG_INSTALL_ARGS= -l ${DESTDIR}${PREFIX}/${R_LIB} +.if defined(CONFIGURE_ARGS) +R_PKG_INSTALL_ARGS+= --configure-args='${CONFIGURE_ARGS}' +.endif + GENERATE_PLIST+= ( cd ${DESTDIR}${PREFIX}; for dir in ${R_INST_DIRS}; do \ ${FIND} ${R_LIB}/$${dir} \( -type f -o -type l \) -print; done ) | ${SORT} -u; |