aboutsummaryrefslogtreecommitdiff
path: root/games/burrtools
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-12-06 11:13:01 +0000
committerJohn Marino <marino@FreeBSD.org>2015-12-06 11:13:01 +0000
commit2d9bf48fc398c29603e1ddd7ea9ad720721c8f71 (patch)
tree7fbf5ae88aa51c1ddce8c26547d1b3e10eb94aad /games/burrtools
parentccc582dc7f9d428572c5fdf76e549d902e878c09 (diff)
downloadports-2d9bf48fc398c29603e1ddd7ea9ad720721c8f71.tar.gz
ports-2d9bf48fc398c29603e1ddd7ea9ad720721c8f71.zip
games/burrtools: check OPSYS before using OSVERSION
This really needs USES=compiler:features I think rather than hardcoding the c++ library.
Notes
Notes: svn path=/head/; revision=403101
Diffstat (limited to 'games/burrtools')
-rw-r--r--games/burrtools/Makefile2
1 files changed, 1 insertions, 1 deletions
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 <bsd.port.options.mk>
-.if ${OSVERSION} >= 1000024
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1000024
LDFLAGS+= -lc++
.endif