svn commit: r498808 - head/astro/stellarium

Alexey Dokuchaev danfe at FreeBSD.org
Sat Apr 13 13:58:58 UTC 2019


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 \


More information about the svn-ports-head mailing list