svn commit: r403101 - head/games/burrtools

John Marino marino at FreeBSD.org
Sun Dec 6 11:13:02 UTC 2015


Author: marino
Date: Sun Dec  6 11:13:01 2015
New Revision: 403101
URL: https://svnweb.freebsd.org/changeset/ports/403101

Log:
  games/burrtools: check OPSYS before using OSVERSION
  
  This really needs USES=compiler:features I think rather than
  hardcoding the c++ library.

Modified:
  head/games/burrtools/Makefile

Modified: head/games/burrtools/Makefile
==============================================================================
--- head/games/burrtools/Makefile	Sun Dec  6 11:01:46 2015	(r403100)
+++ head/games/burrtools/Makefile	Sun Dec  6 11:13:01 2015	(r403101)
@@ -39,7 +39,7 @@ OPTIONS_DEFINE=		DOCS EXAMPLES
 
 .include <bsd.port.options.mk>
 
-.if ${OSVERSION} >= 1000024
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000024
 LDFLAGS+=	-lc++
 .endif
 


More information about the svn-ports-head mailing list