pkgsrc/lang/gcc5/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

34 lines
942 B
Makefile

# $NetBSD: buildlink3.mk,v 1.3 2018/01/07 13:04:18 rillig Exp $
BUILDLINK_TREE+= gcc5
.if !defined(GCC5_BUILDLINK3_MK)
GCC5_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.gcc5+= gcc5>=${_GCC_REQD}
BUILDLINK_ABI_DEPENDS.gcc5+= gcc5>=5.1
BUILDLINK_PKGSRCDIR.gcc5= ../../lang/gcc5
BUILDLINK_DEPMETHOD.gcc5?= build
BUILDLINK_PASSTHRU_DIRS+= ${BUILDLINK_PREFIX.gcc5}/gcc5
BUILDLINK_FILES.gcc5= #empty
BUILDLINK_AUTO_VARS.gcc5= no
# Packages that link against shared libraries need a full dependency.
#.if defined(_USE_GCC_SHLIB)
#DEPENDS+= {gcc5, gcc5-libs}>=${_GCC_REQD}:../../lang/gcc5-libs
#ABI_DEPENDS+= {gcc5,gcc5-libs}>=5.1.0:../../lang/gcc5-libs
#.endif
pkgbase := gcc5
.include "../../mk/pkg-build-options.mk"
.if !empty(PKG_BUILD_OPTIONS.gcc5:Mgcc-java)
.include "../../devel/zlib/buildlink3.mk"
.endif
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
.endif # GCC5_BUILDLINK3_MK
BUILDLINK_TREE+= -gcc5