summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authordmcmahill <dmcmahill@pkgsrc.org>2001-04-18 21:50:46 +0000
committerdmcmahill <dmcmahill@pkgsrc.org>2001-04-18 21:50:46 +0000
commitbb37361cf0fd9864d79fe2e61d060b5a5965bc3a (patch)
treec93e53d1f8e597c2ea9642350458f0e7e05a1f27 /mk
parentc4d9d1221284fa1187708f86f661b66633cb7df0 (diff)
downloadpkgsrc-bb37361cf0fd9864d79fe2e61d060b5a5965bc3a.tar.gz
when USE_FORTRAN is set and we don't have f77 set, or we've asked for
f2c instead of f77, then use a DEPENDS not BUILD_DEPENDS because pkgs need the shared libraries at run time.
Diffstat (limited to 'mk')
-rw-r--r--mk/bsd.pkg.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk
index 87af4228bcf..71bdd488e7c 100644
--- a/mk/bsd.pkg.mk
+++ b/mk/bsd.pkg.mk
@@ -1,4 +1,4 @@
-# $NetBSD: bsd.pkg.mk,v 1.721 2001/04/18 10:53:02 tron Exp $
+# $NetBSD: bsd.pkg.mk,v 1.722 2001/04/18 21:50:46 dmcmahill Exp $
#
# This file is in the public domain.
#
@@ -177,7 +177,9 @@ PKG_FC?= f2c-f77
# /usr/bin/f77, the default will remain as f2c-f77.
PKG_FC?= f2c-f77
.if (${PKG_FC} == "f2c-f77")
-BUILD_DEPENDS+= f2c>=20001205:../../lang/f2c
+# this is a DEPENDS not BUILD_DEPENDS because of the
+# shared Fortran libs
+DEPENDS+= f2c>=20001205nb3:../../lang/f2c
.endif
FC= ${PKG_FC}
F77= ${PKG_FC}