diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2004-10-30 10:35:34 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2004-10-30 10:35:34 +0000 |
commit | 8df02c4162ba532fbf69bbc263309017a0cd13bc (patch) | |
tree | cce7180e054b283d44a62e0df48da11b6c7b2f45 /lang/gcc34 | |
parent | 661e05589e34b809e994a8f6296505d60e076de3 (diff) | |
download | pkgsrc-8df02c4162ba532fbf69bbc263309017a0cd13bc.tar.gz |
Revised to only define a full BUILDLINK_DEPMETHOD if USE_GCC_SHLIB is defined.
Diffstat (limited to 'lang/gcc34')
-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" |