Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 6 Dec 2015 11:13:01 +0000 (UTC)
From:      John Marino <marino@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r403101 - head/games/burrtools
Message-ID:  <201512061113.tB6BD18Q057281@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512061113.tB6BD18Q057281>