tech-pkg archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: kdevelop-base: f2c is not installed; can't buildlink files.



Sorry for delay.
JFYI: This issue was reported as PR#37536

--On 2008/02/20 12:49 +0100 Thomas Klausner <wiz%NetBSD.org@localhost> wrote:

However, at this point, BUILDLINK_DEPTH is already "+" (from
db4/buildlink3.mk), so the check in f2c/buildlink3.mk doesn't add f2c
to BUILDLINK_DEPENDS, and the DEPENDS on f2c is missing.

BUILDLINK_DEPTH is used for pick up direct dependencies.
But this case, always depend on f2c directly.
So how about following patch?

Index: lang/f2c/buildlink3.mk
===================================================================
RCS file: /cvsroot/pkgsrc/lang/f2c/buildlink3.mk,v
retrieving revision 1.9
diff -u -r1.9 buildlink3.mk
--- lang/f2c/buildlink3.mk      8 Jul 2006 23:10:54 -0000       1.9
+++ lang/f2c/buildlink3.mk      23 Feb 2008 12:14:51 -0000
@@ -3,7 +3,7 @@
BUILDLINK_DEPTH:=      ${BUILDLINK_DEPTH}+
F2C_BUILDLINK3_MK:=    ${F2C_BUILDLINK3_MK}+

-.if !empty(BUILDLINK_DEPTH:M+)
+.if !empty(BUILDLINK_DEPTH:M+) || !empty(_USE_F2C:M[yY][eE][sS])
BUILDLINK_DEPENDS+=    f2c
.endif

--
"Of course I love NetBSD":-)
OBATA Akio / obache%NetBSD.org@localhost



Home | Main Index | Thread Index | Old Index