Wed Mar 13 01:10:20 2019 UTC ()
xplanet: revise requirement to C++11 for a build fix

On recent Linux distributions, e.g. Fedora, it was failing to build
because of function visibility changes. Tested with Fedora 29, also
with NetBSD 8.0 and Debian Jessie, no regressions with the latter two.


(gutteridge)
diff -r1.87 -r1.88 pkgsrc/x11/xplanet/Makefile

cvs diff -r1.87 -r1.88 pkgsrc/x11/xplanet/Makefile (expand / switch to unified diff)

--- pkgsrc/x11/xplanet/Makefile 2018/11/14 22:22:53 1.87
+++ pkgsrc/x11/xplanet/Makefile 2019/03/13 01:10:20 1.88
@@ -1,26 +1,26 @@ @@ -1,26 +1,26 @@
1# $NetBSD: Makefile,v 1.87 2018/11/14 22:22:53 kleink Exp $ 1# $NetBSD: Makefile,v 1.88 2019/03/13 01:10:20 gutteridge Exp $
2 2
3DISTNAME= xplanet-1.3.0 3DISTNAME= xplanet-1.3.0
4PKGREVISION= 5 4PKGREVISION= 5
5CATEGORIES= x11 5CATEGORIES= x11
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xplanet/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=xplanet/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://xplanet.sourceforge.net/ 9HOMEPAGE= http://xplanet.sourceforge.net/
10COMMENT= Rotating rendered map of the Earth in X11 root window 10COMMENT= Rotating rendered map of the Earth in X11 root window
11LICENSE= gnu-gpl-v2 11LICENSE= gnu-gpl-v2
12 12
13USE_LANGUAGES= c c++03 13USE_LANGUAGES= c c++11
14USE_TOOLS+= gmake pkg-config 14USE_TOOLS+= gmake pkg-config
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16CONFIGURE_ENV+= PERL=${_ENV_PERL:Q} 16CONFIGURE_ENV+= PERL=${_ENV_PERL:Q}
17_ENV_PERL= ${TOOLS_SETENV} perl 17_ENV_PERL= ${TOOLS_SETENV} perl
18 18
19# directory creation should be fixed in the future release of xplanet 19# directory creation should be fixed in the future release of xplanet
20XPLANET_DIRS= arcs config ephemeris fonts images markers origin 20XPLANET_DIRS= arcs config ephemeris fonts images markers origin
21XPLANET_DIRS+= satellites scripts spice stars 21XPLANET_DIRS+= satellites scripts spice stars
22INSTALLATION_DIRS+= ${XPLANET_DIRS:C,.*,share/xplanet/&,g} 22INSTALLATION_DIRS+= ${XPLANET_DIRS:C,.*,share/xplanet/&,g}
23 23
24.include "options.mk" 24.include "options.mk"
25 25
26.include "../../mk/jpeg.buildlink3.mk" 26.include "../../mk/jpeg.buildlink3.mk"