diff options
author | jlam <jlam> | 2004-03-05 19:25:06 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-03-05 19:25:06 +0000 |
commit | 12109d5b873e13ef999184b4ace84a18e0a72358 (patch) | |
tree | a3daf9a5fb572d8089372ce24f3f353d4bac8d47 /lang/gcc | |
parent | 04f41a3b8d89ef1b69c652c4374e1b9502c6283d (diff) | |
download | pkgsrc-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/gcc')
-rw-r--r-- | lang/gcc/buildlink3.mk | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lang/gcc/buildlink3.mk b/lang/gcc/buildlink3.mk index 795bb8de46c..24a032b0b80 100644 --- a/lang/gcc/buildlink3.mk +++ b/lang/gcc/buildlink3.mk @@ -1,4 +1,4 @@ -# $NetBSD: buildlink3.mk,v 1.3 2004/02/05 03:45:13 jlam Exp $ +# $NetBSD: buildlink3.mk,v 1.4 2004/03/05 19:25:35 jlam Exp $ BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ GCC_BUILDLINK3_MK:= ${GCC_BUILDLINK3_MK}+ @@ -9,19 +9,22 @@ GCC_BUILDLINK3_MK:= ${GCC_BUILDLINK3_MK}+ BUILDLINK_DEPENDS+= gcc .endif +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Ngcc} +BUILDLINK_PACKAGES+= gcc + .if !empty(GCC_BUILDLINK3_MK:M+) -BUILDLINK_PACKAGES+= gcc BUILDLINK_DEPENDS.gcc+= gcc>=${_GCC_REQD} BUILDLINK_PKGSRCDIR.gcc?= ../../lang/gcc BUILDLINK_LIBDIRS.gcc?= \ lib ${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc}\///} # Packages that link against shared libraries need a full dependency. -. if defined(USE_GCC_SHLIB) +.if defined(USE_GCC_SHLIB) BUILDLINK_DEPMETHOD.gcc+= full -. else +.else BUILDLINK_DEPMETHOD.gcc?= build -. endif +.endif + .endif # GCC_BUILDLINK3_MK BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} |