summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorasau <asau>2009-12-03 12:44:10 +0000
committerasau <asau>2009-12-03 12:44:10 +0000
commit34f9c2bbbab0d392260ecdc751356d2a8307c627 (patch)
tree509f209d5b27611e11f0b48db5eb74f52f56c730 /mk
parent46f66a7309c178258a0fd0e70d19aec503e91635 (diff)
downloadpkgsrc-34f9c2bbbab0d392260ecdc751356d2a8307c627.tar.gz
Adjust to follow f2c/libf2c split: build-depend on f2c, buildlink libf2c.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/f2c.mk7
1 files changed, 4 insertions, 3 deletions
diff --git a/mk/compiler/f2c.mk b/mk/compiler/f2c.mk
index 1d821d94a32..70cc214f717 100644
--- a/mk/compiler/f2c.mk
+++ b/mk/compiler/f2c.mk
@@ -1,4 +1,4 @@
-# $NetBSD: f2c.mk,v 1.11 2008/05/24 07:27:11 obache Exp $
+# $NetBSD: f2c.mk,v 1.12 2009/12/03 12:44:10 asau Exp $
#
# Copyright (c) 2005 The NetBSD Foundation, Inc.
# All rights reserved.
@@ -97,8 +97,9 @@ _WRAP_ENV.FC= PATH="${WRAPPER_BINDIR}:${_WRAP_PATH}"; export PATH
PREPEND_PATH+= ${_F2C_DIR}/bin
. endif
-# Add the dependency on f2c.
-. include "../../lang/f2c/buildlink3.mk"
+# Dependencies:
+BUILD_DEPENDS+= f2c>20090411:../../lang/f2c # translator
+. include "../../devel/libf2c/buildlink3.mk" # library
. if defined(F2C_DIR) && !empty(F2C_DIR)
PKGSRC_MAKE_ENV+= F2C_DIR=${F2C_DIR:Q}