diff options
Diffstat (limited to 'lang/gcc3-objc')
-rw-r--r-- | lang/gcc3-objc/buildlink3.mk | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/lang/gcc3-objc/buildlink3.mk b/lang/gcc3-objc/buildlink3.mk index 5b0c6c7e9e3..ffa88c74cde 100644 --- a/lang/gcc3-objc/buildlink3.mk +++ b/lang/gcc3-objc/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.5 2004/02/13 00:27:28 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.6 2004/03/05 19:25:36 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GCC3OBJC_BUILDLINK3_MK:= ${GCC3OBJC_BUILDLINK3_MK}+ @@ -9,25 +9,27 @@ GCC3OBJC_BUILDLINK3_MK:= ${GCC3OBJC_BUILDLINK3_MK}+ BUILDLINK_DEPENDS+= gcc3objc .endif +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc3objc} +BUILDLINK_PACKAGES+= gcc3objc + .if !empty(GCC3OBJC_BUILDLINK3_MK:M+) . if defined(GCC3_INSTALLTO_SUBPREFIX) . if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3" -GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX} +GCC3_PKGMODIF= _${GCC3_INSTALLTO_SUBPREFIX} . endif . endif -BUILDLINK_PACKAGES+= gcc3objc -BUILDLINK_DEPENDS+= gcc3objc BUILDLINK_DEPENDS.gcc3objc+= gcc3${GCC3_PKGMODIF}-objc>=${_GCC_REQD} BUILDLINK_PKGSRCDIR.gcc3objc?= ../../lang/gcc3-objc BUILDLINK_LIBDIRS.gcc3objc?= \ lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3objc}\///} # Packages that link against shared libraries need a full dependency. -. if defined(USE_GCC_SHLIB) +.if defined(USE_GCC_SHLIB) BUILDLINK_DEPMETHOD.gcc3objc+= full -. else +.else BUILDLINK_DEPMETHOD.gcc3objc?= build -. endif +.endif + .endif # GCC3OBJC_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |