aboutsummaryrefslogtreecommitdiff
path: root/games/enigma
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-27 23:03:51 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2014-05-27 23:03:51 +0000
commited1867ca1879c698f72ef8a1e169abe683c00ac4 (patch)
tree7835e9d97a5204420c082915e14066492059c9e2 /games/enigma
parent9a15313bfe8ea137943cc546d198a577d1010253 (diff)
downloadports-ed1867ca1879c698f72ef8a1e169abe683c00ac4.tar.gz
ports-ed1867ca1879c698f72ef8a1e169abe683c00ac4.zip
Notes
Diffstat (limited to 'games/enigma')
-rw-r--r--games/enigma/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/games/enigma/Makefile b/games/enigma/Makefile
index 6387c3a3bc55..40d3907f39da 100644
--- a/games/enigma/Makefile
+++ b/games/enigma/Makefile
@@ -11,9 +11,9 @@ DISTNAME= ${PORTNAME}-${PORTVERSION}-64bit
MAINTAINER= amdmi3@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>