aboutsummaryrefslogtreecommitdiffstats
path: root/games
diff options
context:
space:
mode:
authorJohn Marino <marino@FreeBSD.org>2015-12-06 19:13:01 +0800
committerJohn Marino <marino@FreeBSD.org>2015-12-06 19:13:01 +0800
commit2d9bf48fc398c29603e1ddd7ea9ad720721c8f71 (patch)
tree7fbf5ae88aa51c1ddce8c26547d1b3e10eb94aad /games
parentccc582dc7f9d428572c5fdf76e549d902e878c09 (diff)
downloadfreebsd-ports-gnome-2d9bf48fc398c29603e1ddd7ea9ad720721c8f71.tar.gz
freebsd-ports-gnome-2d9bf48fc398c29603e1ddd7ea9ad720721c8f71.tar.zst
freebsd-ports-gnome-2d9bf48fc398c29603e1ddd7ea9ad720721c8f71.zip
games/burrtools: check OPSYS before using OSVERSION
This really needs USES=compiler:features I think rather than hardcoding the c++ library.
Diffstat (limited to 'games')
-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