59a0a201a4
RTLD_GLOBAL like lua-5.2 does) ok jasper@
21 lines
433 B
Makefile
21 lines
433 B
Makefile
# $OpenBSD: Makefile,v 1.2 2012/11/09 08:36:44 dcoppa Exp $
|
|
|
|
VERSION= 5.1.5
|
|
PKGSPEC= lua->=5.1,<5.2
|
|
REVISION= 1
|
|
|
|
SHARED_LIBS= lua5.1 ${VERSION:R}
|
|
|
|
WANTLIB= c m edit curses
|
|
|
|
MAKE_FLAGS+= LIBlua5.1_VERSION="${LIBlua5.1_VERSION}"
|
|
|
|
pre-configure:
|
|
${SUBST_CMD} ${WRKSRC}/etc/lua.pc
|
|
|
|
post-install:
|
|
${INSTALL_DATA_DIR} ${PREFIX}/lib/pkgconfig
|
|
${INSTALL_DATA} ${WRKSRC}/etc/lua.pc ${PREFIX}/lib/pkgconfig/lua51.pc
|
|
|
|
.include <bsd.port.mk>
|