summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authormarkd <markd@pkgsrc.org>2007-03-18 13:13:02 +0000
committermarkd <markd@pkgsrc.org>2007-03-18 13:13:02 +0000
commitba6444594c323b6a2ffa8ee511510ba8db2c34b0 (patch)
tree8d2a0454c24c272a6de9be63a377c96cbdf7feac /math
parent245e9ac31f3b2b1935f7c04952d030b4a5548946 (diff)
downloadpkgsrc-ba6444594c323b6a2ffa8ee511510ba8db2c34b0.tar.gz
Building with f2c effects what libs get installed. Adjust PLIST.
Diffstat (limited to 'math')
-rw-r--r--math/R/Makefile8
-rw-r--r--math/R/PLIST4
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