pkgsrc/devel/editline/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

29 lines
913 B
Makefile

# $NetBSD: buildlink3.mk,v 1.4 2018/01/07 13:04:01 rillig Exp $
BUILDLINK_TREE+= editline
.if !defined(EDITLINE_BUILDLINK3_MK)
EDITLINE_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.editline+= editline>=3.0.20130712nb1
BUILDLINK_PKGSRCDIR.editline?= ../../devel/editline
BUILDLINK_FILES.editline+= include/history.h
BUILDLINK_FILES.editline+= include/readline.h
BUILDLINK_FNAME_TRANSFORM.editline+= -e 's|include/editline/history\.h|include/readline/history.h|g'
BUILDLINK_FNAME_TRANSFORM.editline+= -e 's|include/editline/readline\.h|include/readline/readline.h|g'
CHECK_BUILTIN.editline:= yes
.include "../../devel/editline/builtin.mk"
CHECK_BUILTIN.editline:= no
# A built-in editline is always going to use a built-in termcap.
.if !empty(USE_BUILTIN.editline:M[yY][eE][sS])
USE_BUILTIN.termcap= yes
.endif
.include "../../mk/termcap.buildlink3.mk"
.endif # EDITLINE_BUILDLINK3_MK
BUILDLINK_TREE+= -editline