Thu Jan 17 11:09:44 2013 UTC ()
Some R libraries may extensively use GNU configure, so pass
the obvious CONFIGURE_ARGS through.


(mishka)
diff -r1.17 -r1.18 pkgsrc/math/R/Makefile.extension

cvs diff -r1.17 -r1.18 pkgsrc/math/R/Makefile.extension (expand / switch to context diff)
--- pkgsrc/math/R/Makefile.extension 2012/09/11 23:04:16 1.17
+++ pkgsrc/math/R/Makefile.extension 2013/01/17 11:09:44 1.18
@@ -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.
 #
@@ -32,6 +32,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;