From ba6444594c323b6a2ffa8ee511510ba8db2c34b0 Mon Sep 17 00:00:00 2001 From: markd Date: Sun, 18 Mar 2007 13:13:02 +0000 Subject: Building with f2c effects what libs get installed. Adjust PLIST. --- math/R/Makefile | 8 +++++++- math/R/PLIST | 4 ++-- 2 files changed, 9 insertions(+), 3 deletions(-) (limited to 'math') 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 -- cgit v1.2.3