Date: Wed, 15 Apr 2015 13:54:43 +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: r384052 - in head/games/tomenet: . files Message-ID: <201504151354.t3FDshh1086098@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 Modified: head/games/tomenet/Makefile head/games/tomenet/files/patch-makefile Modified: head/games/tomenet/Makefile ============================================================================== --- head/games/tomenet/Makefile Wed Apr 15 13:46:34 2015 (r384051) +++ head/games/tomenet/Makefile Wed Apr 15 13:54:43 2015 (r384052) @@ -31,6 +31,12 @@ 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} Modified: head/games/tomenet/files/patch-makefile ============================================================================== --- head/games/tomenet/files/patch-makefile Wed Apr 15 13:46:34 2015 (r384051) +++ head/games/tomenet/files/patch-makefile Wed Apr 15 13:54:43 2015 (r384052) @@ -5,7 +5,7 @@ # This is my compiler of choice, it seems to work most everywhere # -CC = gcc -+CC = cc ++CC ?= cc # For allowing #if..#else..#endif constructs in LUA files - C. Blue # Note: The flags must contain
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201504151354.t3FDshh1086098>