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

21 lines
718 B
Makefile

# $NetBSD: buildlink3.mk,v 1.19 2018/01/07 13:04:19 rillig Exp $
#
# This is a fake buildlink3.mk file. It figures out the Lua version
# and then includes the real buildlink3.mk file for that Lua version.
#
# It is intended to be included by packages that embed the Lua
# interpreter and therefore link against Lua.
.include "../../lang/lua/luaversion.mk"
.include "${LUA_PKGSRCDIR}/buildlink3.mk"
BUILDLINK_PREFIX.lua= ${BUILDLINK_PREFIX.${LUA_PACKAGE}}
.if !defined(LUA_BUILDLINK3_MK)
LUA_BUILDLINK3_MK:=
BUILDLINK_TARGETS+= buildlink-bin-unversioned
buildlink-bin-unversioned:
${LN} -s ${BUILDLINK_DIR}/lib/pkgconfig/lua-${_LUA_DOT_VERSION}.pc ${BUILDLINK_DIR}/lib/pkgconfig/lua.pc
.endif # LUA_BUILDLINK3_MK