pkgsrc/games/xmahjongg/Makefile
maya 29cfef105f xmahjongg: force c++03. Fixes build issue (GCC 6.4)
permstr.cc: In function 'bool operator==(PermString, const char*)':
permstr.cc:163:26: error: no matching function for call to 'operator==(PermString&, bool)'
   if (operator==(a, false) || !b)
                          ^
In file included from permstr.cc:19:0:
../include/lcdf/permstr.hh:113:1: note: candidate: bool operator==(PermString, PermString)
 operator==(PermString a, PermString b)
 ^~~~~~~~
2018-04-10 03:39:17 +00:00

23 lines
594 B
Makefile

# $NetBSD: Makefile,v 1.30 2018/04/10 03:39:17 maya Exp $
#
DISTNAME= xmahjongg-3.7
PKGNAME= ${DISTNAME}0
CATEGORIES= games x11
MASTER_SITES= http://www.lcdf.org/~eddietwo/xmahjongg/
MAINTAINER= salo@NetBSD.org
HOMEPAGE= http://www.lcdf.org/~eddietwo/xmahjongg/
COMMENT= The Chinese game of Mah Jongg for X11
GNU_CONFIGURE= YES
USE_LANGUAGES= c c++03
.include "../../mk/bsd.prefs.mk"
# XXX: hack - work round an ICE with GCC 3.3 on sparc
.if ${OPSYS} == "NetBSD" && ${MACHINE_ARCH} == "sparc"
GCC_REQD+= 3.4
.endif
.include "../../x11/libX11/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"