From 2d9bf48fc398c29603e1ddd7ea9ad720721c8f71 Mon Sep 17 00:00:00 2001 From: John Marino Date: Sun, 6 Dec 2015 11:13:01 +0000 Subject: games/burrtools: check OPSYS before using OSVERSION This really needs USES=compiler:features I think rather than hardcoding the c++ library. --- games/burrtools/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'games/burrtools') diff --git a/games/burrtools/Makefile b/games/burrtools/Makefile index e98cb70dbe8b..ed84979979d6 100644 --- a/games/burrtools/Makefile +++ b/games/burrtools/Makefile @@ -39,7 +39,7 @@ OPTIONS_DEFINE= DOCS EXAMPLES .include -.if ${OSVERSION} >= 1000024 +.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000024 LDFLAGS+= -lc++ .endif -- cgit v1.2.3