summaryrefslogtreecommitdiff
path: root/math/R
diff options
context:
space:
mode:
authormishka <mishka@pkgsrc.org>2013-01-17 11:09:44 +0000
committermishka <mishka@pkgsrc.org>2013-01-17 11:09:44 +0000
commit31c4878a746e8b71714358212963502359d0f199 (patch)
tree2dbddd8d1f07176c15ab0eaa812ff19400263347 /math/R
parent56bdebd3f2a99fbde877691b3f232c92a36e7e96 (diff)
downloadpkgsrc-31c4878a746e8b71714358212963502359d0f199.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.extension6
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;