summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorshannonjr <shannonjr@pkgsrc.org>2004-10-30 10:35:34 +0000
committershannonjr <shannonjr@pkgsrc.org>2004-10-30 10:35:34 +0000
commit2a698ac0af47d0cadad5f98e3bdb90f4ffc38630 (patch)
treecce7180e054b283d44a62e0df48da11b6c7b2f45 /lang
parenteb4633c736652ac483c6100894d7e7eb90b5457a (diff)
downloadpkgsrc-2a698ac0af47d0cadad5f98e3bdb90f4ffc38630.tar.gz
Revised to only define a full BUILDLINK_DEPMETHOD if USE_GCC_SHLIB is defined.
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc34/buildlink3.mk9
1 files changed, 7 insertions, 2 deletions
diff --git a/lang/gcc34/buildlink3.mk b/lang/gcc34/buildlink3.mk
index 4eca13be502..5ee15978ee6 100644
--- a/lang/gcc34/buildlink3.mk
+++ b/lang/gcc34/buildlink3.mk
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.6 2004/10/29 14:57:03 minskim Exp $
+# $NetBSD: buildlink3.mk,v 1.7 2004/10/30 10:35:34 shannonjr Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
GCC34_BUILDLINK3_MK:= ${GCC34_BUILDLINK3_MK}+
@@ -36,7 +36,12 @@ BUILDLINK_FILES_CMD.gcc34= \
BUILDLINK_TRANSFORM.gcc34= -e s:\buildlink:buildlink/gcc34:
# Packages that link against shared libraries need a full dependency.
-BUILDLINK_DEPMETHOD.gcc34?= full
+. if defined(USE_GCC_SHLIB)
+BUILDLINK_DEPMETHOD.gcc+= full
+. else
+BUILDLINK_DEPMETHOD.gcc?= build
+. endif
+
.include "../../mk/pthread.buildlink3.mk"
.include "../../devel/gettext-lib/buildlink3.mk"