0694443744
- In override-as.mk, fabricate a "specs" file and use it to force gcc into execvp'ing the correct as(1). Apparently having it in $PATH is not enough. This only affects multimedia/mplayer and perhaps sysutils/memtest86. (The latter probably doesn't need binutils at all, at least on modern NetBSD, and should be revisited.)
20 lines
622 B
Makefile
20 lines
622 B
Makefile
# $NetBSD: buildlink3.mk,v 1.22 2008/03/24 23:40:37 tnn Exp $
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
|
|
BINUTILS_BUILDLINK3_MK:= ${BINUTILS_BUILDLINK3_MK}+
|
|
|
|
.if ${BUILDLINK_DEPTH} == "+"
|
|
BUILDLINK_DEPENDS+= binutils
|
|
.endif
|
|
|
|
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nbinutils}
|
|
BUILDLINK_PACKAGES+= binutils
|
|
BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}binutils
|
|
|
|
.if ${BINUTILS_BUILDLINK3_MK} == "+"
|
|
BUILDLINK_API_DEPENDS.binutils+= binutils>=2.17
|
|
BUILDLINK_PKGSRCDIR.binutils?= ../../devel/binutils
|
|
BUILDLINK_DEPMETHOD.binutils?= build
|
|
.endif # BINUTILS_BUILDLINK3_MK
|
|
|
|
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
|