summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lang/gcc/buildlink3.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc/buildlink3.mk b/lang/gcc/buildlink3.mk
index d6fee20ee6b..489f88acbcf 100644
--- a/lang/gcc/buildlink3.mk
+++ b/lang/gcc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.5 2004/03/18 09:12:12 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.6 2004/06/29 13:17:42 gavan Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC_BUILDLINK3_MK:= ${GCC_BUILDLINK3_MK}+
@@ -16,7 +16,8 @@ BUILDLINK_PACKAGES+= gcc
BUILDLINK_DEPENDS.gcc+= gcc>=${_GCC_REQD}
BUILDLINK_PKGSRCDIR.gcc?= ../../lang/gcc
BUILDLINK_LIBDIRS.gcc?= \
- lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc}\///}
+ ${_GCC_PREFIX:S/^${BUILDLINK_PREFIX.gcc}\////}lib \
+ ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc}\///}
# Packages that link against shared libraries need a full dependency.
. if defined(USE_GCC_SHLIB)