summaryrefslogtreecommitdiff
path: root/math
diff options
context:
space:
mode:
authormarkd <markd>2007-03-18 13:13:02 +0000
committermarkd <markd>2007-03-18 13:13:02 +0000
commitb24d9572648e536436ad0f14873bf60b8a12435c (patch)
tree8d2a0454c24c272a6de9be63a377c96cbdf7feac /math
parent19e3669ca3a962232cc21d195a370c3c0e869ee6 (diff)
downloadpkgsrc-b24d9572648e536436ad0f14873bf60b8a12435c.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