[BACK]Return to buildlink3.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / lang / gcc3-c

File: [cvs.NetBSD.org] / pkgsrc / lang / gcc3-c / Attic / buildlink3.mk (download)

Revision 1.20, Sun Jan 7 13:04:18 2018 UTC (6 years, 1 month ago) by rillig
Branch: MAIN
CVS Tags: pkgsrc-2021Q3-base, pkgsrc-2021Q3, pkgsrc-2021Q2-base, pkgsrc-2021Q2, pkgsrc-2021Q1-base, pkgsrc-2021Q1, pkgsrc-2020Q4-base, pkgsrc-2020Q4, pkgsrc-2020Q3-base, pkgsrc-2020Q3, pkgsrc-2020Q2-base, pkgsrc-2020Q2, pkgsrc-2020Q1-base, pkgsrc-2020Q1, pkgsrc-2019Q4-base, pkgsrc-2019Q4, pkgsrc-2019Q3-base, pkgsrc-2019Q3, pkgsrc-2019Q2-base, pkgsrc-2019Q2, pkgsrc-2019Q1-base, pkgsrc-2019Q1, pkgsrc-2018Q4-base, pkgsrc-2018Q4, pkgsrc-2018Q3-base, pkgsrc-2018Q3, pkgsrc-2018Q2-base, pkgsrc-2018Q2, pkgsrc-2018Q1-base, pkgsrc-2018Q1
Changes since 1.19: +11 -11 lines

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.

# $NetBSD: buildlink3.mk,v 1.20 2018/01/07 13:04:18 rillig Exp $

.include "../../mk/bsd.fast.prefs.mk"

BUILDLINK_TREE+=	gcc3-c

.if !defined(GCC3_C_BUILDLINK3_MK)
GCC3_C_BUILDLINK3_MK:=

.include "../../mk/bsd.prefs.mk"
.if defined(GCC3_INSTALLTO_SUBPREFIX)
#
# "gcc3" is the directory named in pkgsrc/lang/gcc3-c/Makefile.common"
# as GCC3_DEFAULT_SUBPREFIX.
#
.  if ${GCC3_INSTALLTO_SUBPREFIX} != "gcc3"
GCC3_PKGMODIF=	_${GCC3_INSTALLTO_SUBPREFIX}
.  endif
.endif
BUILDLINK_API_DEPENDS.gcc3-c+=	gcc3${GCC3_PKGMODIF}-c>=3.0
BUILDLINK_ABI_DEPENDS.gcc3-c+=	gcc3-c>=3.3.5nb1
BUILDLINK_PKGSRCDIR.gcc3-c?=	../../lang/gcc3-c
BUILDLINK_GCC3_LIBDIRS=		lib
.if defined(GCC3_INSTALLTO_SUBPREFIX)
BUILDLINK_GCC3_LIBDIRS+=	${GCC3_INSTALLTO_SUBPREFIX}/lib
.else
BUILDLINK_GCC3_LIBDIRS+=	gcc3/lib
.endif
BUILDLINK_GCC3_LIBDIRS+=	${_GCC_ARCHDIR:S/^${BUILDLINK_PREFIX.gcc3-c}\///}
BUILDLINK_LIBDIRS.gcc3-c+=	${BUILDLINK_GCC3_LIBDIRS}

# Packages that link against shared libraries need a full dependency.
.if defined(_USE_GCC_SHLIB)
BUILDLINK_DEPMETHOD.gcc3-c+=	full
.else
BUILDLINK_DEPMETHOD.gcc3-c?=	build
.endif
.endif # GCC3_C_BUILDLINK3_MK

BUILDLINK_TREE+=	-gcc3-c