diff options
author | jlam <jlam@pkgsrc.org> | 2002-08-27 17:35:02 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-08-27 17:35:02 +0000 |
commit | 3cabf7e0ed7680b74f0fbabfafc3f08158c6b325 (patch) | |
tree | c2df71cfa10021bf11e319f02c9497a168852359 /mk/bsd.pkg.mk | |
parent | 69765255993e25e2cf9e252d3155035c959755a8 (diff) | |
download | pkgsrc-3cabf7e0ed7680b74f0fbabfafc3f08158c6b325.tar.gz |
Fix USE_FORTRAN in the USE_BUILDLINK2 case.
Diffstat (limited to 'mk/bsd.pkg.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 2178ce14501..14047e87097 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1036 2002/08/27 06:06:38 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1037 2002/08/27 17:35:02 jlam Exp $ # # This file is in the public domain. # @@ -294,7 +294,9 @@ PKG_FC?= f2c-f77 . if (${PKG_FC} == "f2c-f77") # this is a DEPENDS not BUILD_DEPENDS because of the # shared Fortran libs -. if defined(USE_BUILDLINK_ONLY) +. if defined(USE_BUILDLINK2) +. include "../../lang/f2c/buildlink2.mk" +. elif defined(USE_BUILDLINK_ONLY) . include "../../lang/f2c/buildlink.mk" . else DEPENDS+= f2c>=20001205nb3:../../lang/f2c |