summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--games/tomenet/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/games/tomenet/Makefile b/games/tomenet/Makefile
index cd4515733ec6..ca80c34c0a6f 100644
--- a/games/tomenet/Makefile
+++ b/games/tomenet/Makefile
@@ -12,8 +12,10 @@ COMMENT= Online multiplayer rogue-like role-playing game
WRKSRC= ${WRKDIR}/${DISTNAME}/src
MAKEFILE= makefile
-USES= gmake ncurses tar:bzip2
-CFLAGS+= -DDEFAULT_PATH="\\\"${DATADIR}/lib/\\\""
+USES= execinfo gmake ncurses tar:bzip2
+CFLAGS+= -DDEFAULT_PATH="\\\"${DATADIR}/lib/\\\"" \
+ ${EXECINFO_CPPFLAGS}
+LDFLAGS+= ${EXECINFO_LDFLAGS}
MAKE_JOBS_UNSAFE= yes
SUB_FILES= pkg-message
@@ -31,12 +33,6 @@ OPTIONS_DEFINE= DOCS
.include <bsd.port.options.mk>
-.if ${OSVERSION} < 1000000
-LIB_DEPENDS+= libexecinfo.so:${PORTSDIR}/devel/libexecinfo
-CFLAGS+= -I${LOCALBASE}/include
-LIBS+= -L${LOCALBASE}/lib
-.endif
-
post-install:
.if ${PORT_OPTIONS:MDOCS}
${MKDIR} ${STAGEDIR}${DOCSDIR}