summaryrefslogtreecommitdiff
path: root/lang/gcc/buildlink3.mk
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc/buildlink3.mk')
-rw-r--r--lang/gcc/buildlink3.mk9
1 files changed, 4 insertions, 5 deletions
diff --git a/lang/gcc/buildlink3.mk b/lang/gcc/buildlink3.mk
index 24a032b0b80..d6fee20ee6b 100644
--- a/lang/gcc/buildlink3.mk
+++ b/lang/gcc/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.4 2004/03/05 19:25:35 jlam Exp $
+# $NetBSD: buildlink3.mk,v 1.5 2004/03/18 09:12:12 jlam Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC_BUILDLINK3_MK:= ${GCC_BUILDLINK3_MK}+
@@ -19,12 +19,11 @@ BUILDLINK_LIBDIRS.gcc?= \
lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc}\///}
# Packages that link against shared libraries need a full dependency.
-.if defined(USE_GCC_SHLIB)
+. if defined(USE_GCC_SHLIB)
BUILDLINK_DEPMETHOD.gcc+= full
-.else
+. else
BUILDLINK_DEPMETHOD.gcc?= build
-.endif
-
+. endif
.endif # GCC_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}