pkgsrc-wip/mingw-gcc/buildlink3.mk
Roland Illig d169fd5a0f Renamed BUILDLINK_TRANSFORM.* to BUILDLINK_FNAME_TRANSFORM.*, to make
clear that these variables are completely unrelated to
BUILDLINK_TRANSFORM.

Added a legacy check that catches appearances of BUILDLINK_TRANSFORM.*.

XXX: Where should incompatible changes in pkgsrc be documented?
2007-01-17 03:11:30 +00:00

23 lines
705 B
Makefile

# $NetBSD: buildlink3.mk,v 1.5 2007/01/17 03:11:30 rillig Exp $
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
MINGW_GCC_BUILDLINK3_MK:= ${MINGW_GCC_BUILDLINK3_MK}+
.if !empty(BUILDLINK_DEPTH:M+)
BUILDLINK_DEPENDS+= mingw-gcc
.endif
BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nmingw-gcc}
BUILDLINK_PACKAGES+= mingw-gcc
.include "../../wip/mingw/Makefile.common"
.if !empty(MINGW_GCC_BUILDLINK3_MK:M+)
BUILDLINK_API_DEPENDS.mingw-gcc+= mingw-gcc>=3.4.2
BUILDLINK_PKGSRCDIR.mingw-gcc?= ../../wip/mingw-gcc
BUILDLINK_FNAME_TRANSFORM.mingw-gcc+= -e "s,${MINGW_TARGET}/lib,lib/,g"
.endif # MINGW_GCC_BUILDLINK3_MK
.include "../../wip/mingw-binutils/buildlink3.mk"
BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}