summaryrefslogtreecommitdiff
path: root/lang/gcc3-f77
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-03-05 19:25:06 +0000
committerjlam <jlam@pkgsrc.org>2004-03-05 19:25:06 +0000
commitafe13927bc95790c8a1e766bddb44d489c029bcf (patch)
treea3daf9a5fb572d8089372ce24f3f353d4bac8d47 /lang/gcc3-f77
parenteadb7c0805bfa87d05e1bdde7c55dea0db0bd118 (diff)
downloadpkgsrc-afe13927bc95790c8a1e766bddb44d489c029bcf.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-f77')
-rw-r--r--lang/gcc3-f77/buildlink3.mk15
1 files changed, 9 insertions, 6 deletions
diff --git a/lang/gcc3-f77/buildlink3.mk b/lang/gcc3-f77/buildlink3.mk
index d8f0e28b8f7..dce33460154 100644
--- a/lang/gcc3-f77/buildlink3.mk
+++ b/lang/gcc3-f77/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}+
GCC3F77_BUILDLINK3_MK:= ${GCC3F77_BUILDLINK3_MK}+
@@ -9,24 +9,27 @@ GCC3F77_BUILDLINK3_MK:= ${GCC3F77_BUILDLINK3_MK}+
BUILDLINK_DEPENDS+= gcc3f77
.endif
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc3f77}
+BUILDLINK_PACKAGES+= gcc3f77
+
.if !empty(GCC3F77_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+= gcc3f77
BUILDLINK_DEPENDS.gcc3f77+= gcc3${GCC3_PKGMODIF}-f77>=${_GCC_REQD}
BUILDLINK_PKGSRCDIR.gcc3f77?= ../../lang/gcc3-f77
BUILDLINK_LIBDIRS.gcc3f77?= \
lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3f77}\///}
# Packages that link against shared libraries need a full dependency.
-. if defined(USE_GCC_SHLIB)
+.if defined(USE_GCC_SHLIB)
BUILDLINK_DEPMETHOD.gcc3f77+= full
-. else
+.else
BUILDLINK_DEPMETHOD.gcc3f77?= build
-. endif
+.endif
+
.endif # GCC3F77_BUILDLINK3_MK
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}