diff options
Diffstat (limited to 'devel/luabind/Makefile')
-rw-r--r-- | devel/luabind/Makefile | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/devel/luabind/Makefile b/devel/luabind/Makefile index ae6b07377e67..7fcabcbf5407 100644 --- a/devel/luabind/Makefile +++ b/devel/luabind/Makefile @@ -12,7 +12,7 @@ COMMENT= Library that helps you create bindings between C++ and Lua LIB_DEPENDS= libboost_python.so:${PORTSDIR}/devel/boost-python-libs -USES= lua +USES= lua:51 USE_LDCONFIG= yes CPPFLAGS+= -I.. -I${LUA_INCDIR} -I${LOCALBASE}/include @@ -23,8 +23,6 @@ PORTDOCS= * OPTIONS_DEFINE= DOCS -.include <bsd.port.options.mk> - post-patch: @${FIND} ${WRKSRC} -name "*.orig" -delete @@ -35,7 +33,7 @@ do-build: @cd ${WRKSRC}/src && ${ECHO_CMD} *.cpp | \ ${XARGS} -n1 -t ${_MAKE_JOBS:C/j/P/} \ ${CXX} ${CXXFLAGS} ${CPPFLAGS} -c - cd ${WRKSRC}/src && ${CXX} -shared ${LDFLAGS} -llua -o libluabind.so *.o + cd ${WRKSRC}/src && ${CXX} -shared ${LDFLAGS} -llua-${LUA_VER} -o libluabind.so *.o cd ${WRKSRC}/src && ${AR} -rcs libluabind.a *.o do-install: |