aboutsummaryrefslogtreecommitdiff
path: root/games/einstein/Makefile
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-24 18:28:00 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2018-06-24 18:28:00 +0000
commit235c15a80a6d018c98c0222f70b5946dc2e85b0a (patch)
tree679422e82c4cf36af17d4b90474529dc9db46942 /games/einstein/Makefile
parent02cd77c8b7cc689e7ae852d384e0bcfd7a5e84e6 (diff)
downloadports-235c15a80a6d018c98c0222f70b5946dc2e85b0a.tar.gz
ports-235c15a80a6d018c98c0222f70b5946dc2e85b0a.zip
Notes
Diffstat (limited to 'games/einstein/Makefile')
-rw-r--r--games/einstein/Makefile8
1 files changed, 3 insertions, 5 deletions
diff --git a/games/einstein/Makefile b/games/einstein/Makefile
index 9aadff8262b9..a20d6df816fa 100644
--- a/games/einstein/Makefile
+++ b/games/einstein/Makefile
@@ -14,14 +14,12 @@ COMMENT= Remake of old DOS game Sherlock, which was inspired by Albert Einstein'
LICENSE= GPLv2+ # (now dead) website mentions GPL
+LIB_DEPENDS= libfreetype.so:print/freetype2
+
USE_SDL= sdl ttf mixer
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-post-patch:
- @${REINPLACE_CMD} \
- -e "s,@@STAGEDIR@@,${STAGEDIR}," \
- -e "s,@@PREFIX@@,${PREFIX}," \
- ${WRKSRC}/Makefile
+CXXFLAGS+= -Wno-c++11-narrowing
post-install:
@${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/einstein