diff options
author | shannonjr <shannonjr> | 2004-10-30 10:35:34 +0000 |
---|---|---|
committer | shannonjr <shannonjr> | 2004-10-30 10:35:34 +0000 |
commit | 7a41b5ce105ca0a1044a4ee064ceab4703abb194 (patch) | |
tree | cce7180e054b283d44a62e0df48da11b6c7b2f45 /lang | |
parent | d0036e9892357c9d930a20d65bf50f3a30ec07c3 (diff) | |
download | pkgsrc-7a41b5ce105ca0a1044a4ee064ceab4703abb194.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.mk | 9 |
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" |