diff options
author | danfe <danfe@FreeBSD.org> | 2019-04-13 21:58:57 +0800 |
---|---|---|
committer | danfe <danfe@FreeBSD.org> | 2019-04-13 21:58:57 +0800 |
commit | 8cee9c3297aaa00ab27c8b6c0dfb630419a753c4 (patch) | |
tree | d57396c8023b48e32473d941b52f15b2689e81fa /astro | |
parent | 54b1f065c7ae3fe5e83234c8cb440caa51b4a837 (diff) | |
download | freebsd-ports-gnome-8cee9c3297aaa00ab27c8b6c0dfb630419a753c4.tar.gz freebsd-ports-gnome-8cee9c3297aaa00ab27c8b6c0dfb630419a753c4.tar.zst freebsd-ports-gnome-8cee9c3297aaa00ab27c8b6c0dfb630419a753c4.zip |
- 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
Diffstat (limited to 'astro')
-rw-r--r-- | astro/stellarium/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/astro/stellarium/Makefile b/astro/stellarium/Makefile index b23cf048bf12..21fb804b41ac 100644 --- a/astro/stellarium/Makefile +++ b/astro/stellarium/Makefile @@ -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 \ |