pkgsrc/lang/lua53/buildlink3.mk
wiz 25cc733919 Instead of having only lua.pc, provide both the versioned pkg-config file
and the unversioned one.

As discussed on tech-pkg.
2015-07-20 11:30:54 +00:00

22 lines
532 B
Makefile

# $NetBSD: buildlink3.mk,v 1.2 2015/07/20 11:30:54 wiz Exp $
BUILDLINK_TREE+= lua53
.if !defined(LUA53_BUILDLINK3_MK)
LUA53_BUILDLINK3_MK:=
BUILDLINK_API_DEPENDS.lua53+= lua53>=5.3.0<5.4
BUILDLINK_PKGSRCDIR.lua53?= ../../lang/lua53
.if defined(BUILDLINK_DEPMETHOD.lua)
BUILDLINK_DEPMETHOD.lua53?= ${BUILDLINK_DEPMETHOD.lua}
.endif
# -llua -> -llua5.3
BUILDLINK_TRANSFORM+= l:lua:lua5.3
BUILDLINK_INCDIRS.lua53+= include/lua-5.3
.include "../../mk/readline.buildlink3.mk"
.endif # LUA53_BUILDLINK3_MK
BUILDLINK_TREE+= -lua53