diff options
author | mishka <mishka@pkgsrc.org> | 2013-01-17 11:09:44 +0000 |
---|---|---|
committer | mishka <mishka@pkgsrc.org> | 2013-01-17 11:09:44 +0000 |
commit | d7656d0273280c3aae7b331846d9c3964a693f1e (patch) | |
tree | 2dbddd8d1f07176c15ab0eaa812ff19400263347 | |
parent | b6c643f1ef5e6b39fdaa98581c2fbb90bfd631d5 (diff) | |
download | pkgsrc-d7656d0273280c3aae7b331846d9c3964a693f1e.tar.gz |
Some R libraries may extensively use GNU configure, so pass
the obvious CONFIGURE_ARGS through.
-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; |