Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Apr 2019 13:58:57 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r498808 - head/astro/stellarium
Message-ID:  <201904131358.x3DDwvhP030096@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Apr 13 13:58:57 2019
New Revision: 498808
URL: https://svnweb.freebsd.org/changeset/ports/498808

Log:
  - Fix the build on GCC-based architectures, e.g. PowerPC[64]
  - Drop no longer relevant CONFLICTS_INSTALL with Qt4 version
  - Don't remove -Wno-unused-result flag from CXXFLAGS: it was
    added as part of r363837 back in 2014 to appease a certain
    compiler version (I forgot which one), but today it is not
    needed anymore on any supported FreeBSD version
  
  PR:		237255
  Submitted by:	Piotr Kubaj

Modified:
  head/astro/stellarium/Makefile

Modified: head/astro/stellarium/Makefile
==============================================================================
--- head/astro/stellarium/Makefile	Sat Apr 13 13:53:21 2019	(r498807)
+++ head/astro/stellarium/Makefile	Sat Apr 13 13:58:57 2019	(r498808)
@@ -12,12 +12,11 @@ COMMENT=	3D photo-realistic sky renderer (planetarium)
 
 LICENSE=	GPLv2+
 
-CONFLICTS_INSTALL=	${PORTNAME}-qt4-0.12.*
-
 USE_GITHUB=	yes
 GH_ACCOUNT=	Stellarium
 
-USES=		cmake desktop-file-utils gettext qt:5 shared-mime-info
+USES=		cmake compiler:c++11-lang desktop-file-utils gettext \
+		qt:5 shared-mime-info
 USE_QT=		qmake_build buildtools_build linguisttools_build \
 		concurrent core gui network opengl printsupport widgets
 
@@ -77,7 +76,8 @@ post-extract-DOCS-on:
 		${WRKSRC}
 
 post-patch:
-	@${REINPLACE_CMD} -e 's, -Wno-unused-result,,' ${WRKSRC}/CMakeLists.txt
+	@${REINPLACE_CMD} -e '/<sys\/time\.h>/s,^//,,' \
+		${WRKSRC}/src/external/libindi/libs/indibase/indilogger.h
 
 post-install-MORE_STARS-on:
 	${INSTALL_DATA} ${DISTDIR}/stars_4_1v0_2.cat \



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