svn commit: r384052 - in head/games/tomenet: . files

Dmitry Marakasov amdmi3 at FreeBSD.org
Wed Apr 15 13:54:44 UTC 2015


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


More information about the svn-ports-head mailing list