From dcc86f60e3ed54e8dee5c0ce705be9ee01cc98e1 Mon Sep 17 00:00:00 2001 From: jlam Date: Thu, 5 Feb 2004 20:58:41 +0000 Subject: Fix lossage from buildlink3.mk files not being included by bsd.prefs.mk as a result of recent changes in mk/compiler. This fixes seeing the mysterious "_gcc3" when building gcc3-* packages. --- lang/gcc3-c/buildlink3.mk | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'lang/gcc3-c') diff --git a/lang/gcc3-c/buildlink3.mk b/lang/gcc3-c/buildlink3.mk index 0aa86178aae..49b600bfd27 100644 --- a/lang/gcc3-c/buildlink3.mk +++ b/lang/gcc3-c/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2004/02/05 03:45:13 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2004/02/05 20:58:41 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GCC3C_BUILDLINK3_MK:= ${GCC3C_BUILDLINK3_MK}+ @@ -11,7 +11,13 @@ BUILDLINK_DEPENDS+= gcc3c .if !empty(GCC3C_BUILDLINK3_MK:M+) . if defined(GCC3_INSTALLTO_SUBPREFIX) +# +# "gcc3" is the directory named in pkgsrc/lang/gcc3-c/Makefile.common" +# as GCC3_DEFAULT_SUBPREFIX. +# +. if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3" GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX} +. endif . endif BUILDLINK_PACKAGES+= gcc3c BUILDLINK_DEPENDS.gcc3c+= gcc3${GCC3_PKGMODIF}-c>=${_GCC_REQD} -- cgit v1.2.3