svn commit: r356168 - head/devel/luabind

Antoine Brodin antoine at FreeBSD.org
Sun Jun 1 20:08:54 UTC 2014


Author: antoine
Date: Sun Jun  1 20:08:54 2014
New Revision: 356168
URL: http://svnweb.freebsd.org/changeset/ports/356168
QAT: https://qat.redports.org/buildarchive/r356168/

Log:
  Unbreak, it seems not compatible with lua52
  
  Reported by:	pkg-fallout

Modified:
  head/devel/luabind/Makefile

Modified: head/devel/luabind/Makefile
==============================================================================
--- head/devel/luabind/Makefile	Sun Jun  1 19:33:35 2014	(r356167)
+++ head/devel/luabind/Makefile	Sun Jun  1 20:08:54 2014	(r356168)
@@ -12,7 +12,7 @@ COMMENT=	Library that helps you create b
 
 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:


More information about the svn-ports-all mailing list