diff options
author | jlam <jlam> | 2004-02-13 00:27:28 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-02-13 00:27:28 +0000 |
commit | 75f157b0ef5e1fbe17cd4dcd4194e4405acbee32 (patch) | |
tree | 36df603cadf66d5fd0a77d2a49c77c3904e3ef55 /lang/gcc3-objc | |
parent | c16528b249e650488eb2edfc4e1bc8c60c54d653 (diff) | |
download | pkgsrc-75f157b0ef5e1fbe17cd4dcd4194e4405acbee32.tar.gz |
Check if a variable is defined before checking its value.
Diffstat (limited to 'lang/gcc3-objc')
-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 |