From 59fad5b9f88eb61cce4318332ad2e328fbb7af78 Mon Sep 17 00:00:00 2001 From: jlam Date: Tue, 16 Mar 2004 17:40:54 +0000 Subject: Manipulate the buildlink depth so that libiconv and Xfixes aren't added to BUILDLINK_DEPENDS unless their respective buildlink3.mk files are included by the top-level Makefile. --- devel/gettext-lib/builtin.mk | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'devel') diff --git a/devel/gettext-lib/builtin.mk b/devel/gettext-lib/builtin.mk index d073634700f..a67981691db 100644 --- a/devel/gettext-lib/builtin.mk +++ b/devel/gettext-lib/builtin.mk @@ -1,4 +1,4 @@ -# $NetBSD: builtin.mk,v 1.1 2004/03/10 17:57:14 jlam Exp $ +# $NetBSD: builtin.mk,v 1.2 2004/03/16 17:40:54 jlam Exp $ .if !defined(_BLNK_LIBINTL_FOUND) _BLNK_LIBINTL_FOUND!= \ @@ -106,7 +106,9 @@ _GETTEXT_NEEDS_ICONV!= \ . if ${_GETTEXT_NEEDS_ICONV} == "yes" . for _mkfile_ in buildlink3.mk builtin.mk . if exists(../../converters/libiconv/${_mkfile_}) +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ . include "../../converters/libiconv/${_mkfile_}" +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} . endif . endfor BUILDLINK_DEPENDS.gettext+= ${_GETTEXT_ICONV_DEPENDS} -- cgit v1.2.3