summaryrefslogtreecommitdiff
path: root/lang/gcc3-objc
diff options
context:
space:
mode:
authorjlam <jlam>2004-03-05 19:25:06 +0000
committerjlam <jlam>2004-03-05 19:25:06 +0000
commit12109d5b873e13ef999184b4ace84a18e0a72358 (patch)
treea3daf9a5fb572d8089372ce24f3f353d4bac8d47 /lang/gcc3-objc
parent04f41a3b8d89ef1b69c652c4374e1b9502c6283d (diff)
downloadpkgsrc-12109d5b873e13ef999184b4ace84a18e0a72358.tar.gz
Reorder location and setting of BUILDLINK_PACKAGES to match template
buildlink3.mk file in revision 1.101 of bsd.buildlink3.mk.
Diffstat (limited to 'lang/gcc3-objc')
-rw-r--r--lang/gcc3-objc/buildlink3.mk16
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/+$//}