summaryrefslogtreecommitdiff
path: root/lang/gcc3-c
diff options
context:
space:
mode:
authorjlam <jlam>2004-02-05 20:58:41 +0000
committerjlam <jlam>2004-02-05 20:58:41 +0000
commitdcc86f60e3ed54e8dee5c0ce705be9ee01cc98e1 (patch)
tree48059c6928821ed16cfb5477503dd55ab5a073e8 /lang/gcc3-c
parentfa9b81da44a618839401d44c6cdcb92e0ad45888 (diff)
downloadpkgsrc-dcc86f60e3ed54e8dee5c0ce705be9ee01cc98e1.tar.gz
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.
Diffstat (limited to 'lang/gcc3-c')
-rw-r--r--lang/gcc3-c/buildlink3.mk8
1 files changed, 7 insertions, 1 deletions
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}