Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 17 Apr 2015 12:21:26 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r384155 - head/games/tomenet
Message-ID:  <201504171221.t3HCLQqK040147@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: amdmi3
Date: Fri Apr 17 12:21:25 2015
New Revision: 384155
URL: https://svnweb.freebsd.org/changeset/ports/384155

Log:
  - Improve previous patch
  
  Suggested by:	marino
  Approved by:	culot (maintainer)

Modified:
  head/games/tomenet/Makefile

Modified: head/games/tomenet/Makefile
==============================================================================
--- head/games/tomenet/Makefile	Fri Apr 17 11:47:52 2015	(r384154)
+++ head/games/tomenet/Makefile	Fri Apr 17 12:21:25 2015	(r384155)
@@ -12,8 +12,10 @@ COMMENT=	Online multiplayer rogue-like r
 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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504171221.t3HCLQqK040147>