diff options
Diffstat (limited to 'math/R')
-rw-r--r-- | math/R/Makefile | 8 | ||||
-rw-r--r-- | math/R/PLIST | 4 |
2 files changed, 9 insertions, 3 deletions
diff --git a/math/R/Makefile b/math/R/Makefile index fd3a0a4ab61..5322de34e04 100644 --- a/math/R/Makefile +++ b/math/R/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.88 2007/03/14 11:50:17 markd Exp $ +# $NetBSD: Makefile,v 1.89 2007/03/18 13:13:02 markd Exp $ DISTNAME= R-2.4.1 CATEGORIES= math @@ -100,3 +100,9 @@ post-install: ${CHOWN} -R ${SHAREOWN}:${SHAREGRP} ${PREFIX}/lib/R .include "../../mk/bsd.pkg.mk" + +.if !empty(BUILDLINK_PACKAGES:Mf2c) +PLIST_SUBST+= USE_F2C="" +.else +PLIST_SUBST+= USE_F2C="@comment " +.endif diff --git a/math/R/PLIST b/math/R/PLIST index 7152652c3ea..12ef198c0a2 100644 --- a/math/R/PLIST +++ b/math/R/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.2 2007/03/14 11:50:33 markd Exp $ +@comment $NetBSD: PLIST,v 1.3 2007/03/18 13:13:02 markd Exp $ bin/R lib/R/COPYING lib/R/NEWS @@ -114,7 +114,7 @@ lib/R/include/Rmath.h lib/R/include/Rversion.h lib/R/include/S.h lib/R/lib/libR.so -lib/R/lib/libRblas.so +${USE_F2C}lib/R/lib/libRblas.so lib/R/lib/libRlapack.so lib/R/library/KernSmooth/CONTENTS lib/R/library/KernSmooth/DESCRIPTION |