svn commit: r355581 - head/games/enigma

Dmitry Marakasov amdmi3 at FreeBSD.org
Tue May 27 23:03:52 UTC 2014


Author: amdmi3
Date: Tue May 27 23:03:51 2014
New Revision: 355581
URL: http://svnweb.freebsd.org/changeset/ports/355581
QAT: https://qat.redports.org/buildarchive/r355581/

Log:
  - Fix build
  - Specify shlib version for xerces, to distinguish from xerces-c3

Modified:
  head/games/enigma/Makefile

Modified: head/games/enigma/Makefile
==============================================================================
--- head/games/enigma/Makefile	Tue May 27 22:33:44 2014	(r355580)
+++ head/games/enigma/Makefile	Tue May 27 23:03:51 2014	(r355581)
@@ -11,9 +11,9 @@ DISTNAME=	${PORTNAME}-${PORTVERSION}-64b
 MAINTAINER=	amdmi3 at FreeBSD.org
 COMMENT=	Enigma is a reimplementation of Oxyd, a puzzle game
 
-LIB_DEPENDS=	libxerces-c.so:${PORTSDIR}/textproc/xerces-c2 \
+LIB_DEPENDS=	libxerces-c.so.27:${PORTSDIR}/textproc/xerces-c2 \
 		libpng.so:${PORTSDIR}/graphics/png \
-		libtoluaxx-${LUA_VER}.so:${PORTSDIR}/lang/tolua++
+		libtolua++-${LUA_VER}.so:${PORTSDIR}/lang/tolua++
 BUILD_DEPENDS=	${LOCALBASE}/lib/libenet.a:${PORTSDIR}/net/enet
 
 USES=		gettext gmake lua:51
@@ -44,5 +44,7 @@ post-extract:
 post-patch:
 	@${REINPLACE_CMD} -e '/Exec=/s,enigma,${PREFIX}/bin/enigma,g' \
 		${WRKSRC}/etc/enigma.desktop
+	@${REINPLACE_CMD} -e 's|-llua|&-${LUA_VER}|; s|-ltolua++|&-${LUA_VER}|' \
+		${WRKSRC}/src/Makefile.in
 
 .include <bsd.port.mk>


More information about the svn-ports-head mailing list