svn commit: r384052 - in head/games/tomenet: . files
Dmitry Marakasov
amdmi3 at amdmi3.ru
Thu Apr 16 15:16:07 UTC 2015
* Frederic Culot (culot at 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 at amdmi3.ru ..: jabber: amdmi3 at jabber.ru http://amdmi3.ru
More information about the svn-ports-all
mailing list