aboutsummaryrefslogtreecommitdiffstats
path: root/games/tomenet
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2015-04-17 20:21:25 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2015-04-17 20:21:25 +0800
commit24aa2f7af6b9451818d4f765367846da26828bb3 (patch)
treea6cdecc3a2c214357a36beecee61071821d7d774 /games/tomenet
parent9e24484281462ac53d749ff3ab6545dcaa403fbe (diff)
downloadfreebsd-ports-gnome-24aa2f7af6b9451818d4f765367846da26828bb3.tar.gz
freebsd-ports-gnome-24aa2f7af6b9451818d4f765367846da26828bb3.tar.zst
freebsd-ports-gnome-24aa2f7af6b9451818d4f765367846da26828bb3.zip
- Improve previous patch
Suggested by: marino Approved by: culot (maintainer)
Diffstat (limited to 'games/tomenet')
-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}