pkgsrc/lang/gcc2/buildlink3.mk
rillig 17e39f419d Fix indentation in buildlink3.mk files.
The actual fix as been done by "pkglint -F */*/buildlink3.mk", and was
reviewed manually.

There are some .include lines that still are indented with zero spaces
although the surrounding .if is indented. This is existing practice.
2018-01-07 13:03:53 +00:00

25 lines
669 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2018/01/07 13:04:18 rillig Exp $
.include "../../mk/bsd.fast.prefs.mk"
BUILDLINK_TREE+= gcc2
.if !defined(GCC2_BUILDLINK3_MK)
GCC2_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.gcc2+= gcc2>=2.95
BUILDLINK_ABI_DEPENDS.gcc2+= gcc2>=2.95.3nb7
BUILDLINK_PKGSRCDIR.gcc2?= ../../lang/gcc2
BUILDLINK_LIBDIRS.gcc2?= \
${_GCC_PREFIX:S/^${BUILDLINK_PREFIX.gcc2}\///}lib \
${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc2}\///}
# Packages that link against shared libraries need a full dependency.
.if defined(_USE_GCC_SHLIB)
BUILDLINK_DEPMETHOD.gcc2+= full
.else
BUILDLINK_DEPMETHOD.gcc2?= build
.endif
.endif # GCC2_BUILDLINK3_MK
BUILDLINK_TREE+= -gcc2