diff options
author | dmcmahill <dmcmahill> | 2001-04-18 21:50:46 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill> | 2001-04-18 21:50:46 +0000 |
commit | b10c890efd50f572f546fbb255960e3b30ba8117 (patch) | |
tree | c93e53d1f8e597c2ea9642350458f0e7e05a1f27 /mk | |
parent | 86a0719f33e8f015f2c0051827cd3529c35ff0e9 (diff) | |
download | pkgsrc-b10c890efd50f572f546fbb255960e3b30ba8117.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.mk | 6 |
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} |