diff options
author | jlam <jlam@pkgsrc.org> | 2004-02-13 00:27:28 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2004-02-13 00:27:28 +0000 |
commit | b2645adf509dd3e6c4ef52e094eeb8e5f1e0279a (patch) | |
tree | 36df603cadf66d5fd0a77d2a49c77c3904e3ef55 /lang/gcc3-objc/buildlink3.mk | |
parent | 0ff2e7acc80b466d81d0e8471c8bc2d0eb849948 (diff) | |
download | pkgsrc-b2645adf509dd3e6c4ef52e094eeb8e5f1e0279a.tar.gz |
Check if a variable is defined before checking its value.
Diffstat (limited to 'lang/gcc3-objc/buildlink3.mk')
-rw-r--r-- | lang/gcc3-objc/buildlink3.mk | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/lang/gcc3-objc/buildlink3.mk b/lang/gcc3-objc/buildlink3.mk index 01ccd8ad94f..5b0c6c7e9e3 100644 --- a/lang/gcc3-objc/buildlink3.mk +++ b/lang/gcc3-objc/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.4 2004/02/13 00:16:00 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.5 2004/02/13 00:27:28 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GCC3OBJC_BUILDLINK3_MK:= ${GCC3OBJC_BUILDLINK3_MK}+ @@ -10,8 +10,10 @@ BUILDLINK_DEPENDS+= gcc3objc .endif .if !empty(GCC3OBJC_BUILDLINK3_MK:M+) -. if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3" +. if defined(GCC3_INSTALLTO_SUBPREFIX) +. if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3" GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX} +. endif . endif BUILDLINK_PACKAGES+= gcc3objc BUILDLINK_DEPENDS+= gcc3objc |