Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 2015 18:15:51 +0300
From:      Dmitry Marakasov <amdmi3@amdmi3.ru>
To:        Frederic Culot <culot@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r384052 - in head/games/tomenet: . files
Message-ID:  <20150416151551.GA22511@hades.panopticon>
In-Reply-To: <20150416103600.GC60236@culot.org>
References:  <201504151354.t3FDshh1086098@svn.freebsd.org> <20150416103600.GC60236@culot.org>

next in thread | previous in thread | raw e-mail | index | archive | help
* Frederic Culot (culot@FreeBSD.org) wrote:
> 
> > Author: amdmi3
> > Date: Wed Apr 15 13:54:43 2015
> > New Revision: 384052
> > URL: https://svnweb.freebsd.org/changeset/ports/384052
> > 
> > Log:
> >   - Fix build on < 10.x
> >   - Respect CC
> >   
> >   Approved by:	portmgr blanket
> 
> Many thanks Dmitry for taking care of this!

No problem. I plan to improve it a bit as suggested by marino@, is that
OK?

--- tomenet.patch begins here ---
Index: Makefile
===================================================================
--- Makefile	(revision 384112)
+++ Makefile	(working copy)
@@ -12,8 +12,10 @@
 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 @@
 
 .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}
--- tomenet.patch ends here ---

-- 
Dmitry Marakasov   .   55B5 0596 FF1E 8D84 5F56  9510 D35A 80DD F9D2 F77D
amdmi3@amdmi3.ru  ..:  jabber: amdmi3@jabber.ru      http://amdmi3.ru



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