25cc733919
and the unversioned one. As discussed on tech-pkg.
22 lines
532 B
Makefile
22 lines
532 B
Makefile
# $NetBSD: buildlink3.mk,v 1.4 2015/07/20 11:30:54 wiz Exp $
|
|
|
|
BUILDLINK_TREE+= lua51
|
|
|
|
.if !defined(LUA51_BUILDLINK3_MK)
|
|
LUA51_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.lua51+= lua51>=5.1.1<5.2
|
|
BUILDLINK_PKGSRCDIR.lua51?= ../../lang/lua51
|
|
|
|
.if defined(BUILDLINK_DEPMETHOD.lua)
|
|
BUILDLINK_DEPMETHOD.lua51?= ${BUILDLINK_DEPMETHOD.lua}
|
|
.endif
|
|
|
|
# -llua -> -llua5.1
|
|
BUILDLINK_TRANSFORM+= l:lua:lua5.1
|
|
BUILDLINK_INCDIRS.lua51+= include/lua-5.1
|
|
|
|
.include "../../mk/readline.buildlink3.mk"
|
|
.endif # LUA51_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -lua51
|