diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2004-07-01 01:35:55 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2004-07-01 01:35:55 +0000 |
commit | 83a47eab7c13fd80b8be01f548f8f3da11793e72 (patch) | |
tree | d26a19bc53a29765c337f1c057f65a9c9766084c /lang | |
parent | f55dc677877f23f9def856c2a2ebeb9c37923f1f (diff) | |
download | pkgsrc-83a47eab7c13fd80b8be01f548f8f3da11793e72.tar.gz |
Modified buildlink3.mk file to perform existance test on
${BUILDLINK_PREFIX.gcc34-ada}/bin/gcc before calling it.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc34-ada/buildlink3.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/gcc34-ada/buildlink3.mk b/lang/gcc34-ada/buildlink3.mk index c1f690b9022..3280fd8f15d 100644 --- a/lang/gcc34-ada/buildlink3.mk +++ b/lang/gcc34-ada/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.1.1.1 2004/06/29 18:00:17 shannonjr Exp $ +# $NetBSD: buildlink3.mk,v 1.2 2004/07/01 01:35:55 shannonjr Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GCCADA_BUILDLINK3_MK:= ${GCCADA_BUILDLINK3_MK}+ @@ -15,11 +15,13 @@ BUILDLINK_PACKAGES+= gcc34-ada BUILDLINK_DEPENDS.gcc34-ada+= gcc34-ada>=3.4.1 BUILDLINK_PKGSRCDIR.gcc34-ada?= ../../lang/gcc34-ada BUILDLINK_ENV+= ADAC=${BUILDLINK_PREFIX.gcc34-ada}/bin/gcc +. if exists(${BUILDLINK_PREFIX.gcc34-ada}/bin/gcc) _GCC_ARCHDIR!= ${DIRNAME} `${BUILDLINK_PREFIX.gcc34-ada}/bin/gcc --print-libgcc-file-name` -. if empty(_GCC_ARCHDIR:M*not_found*) +. if empty(_GCC_ARCHDIR:M*not_found*) BUILDLINK_LIBDIRS.gcc34-ada+= lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc34-ada}\///} BUILDLINK_LIBDIRS.gcc34-ada+= ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc34-ada}\///}/adalib BUILDLINK_INCDIRS.gcc34-ada+= include ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc34-ada}\///}/adainclude +. endif . endif .endif # GCCADA_BUILDLINK3_MK |