mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
- Tweak USE_QT5 knob: buildtools should have `_build' suffix, and linguist
should be replaced with linguisttools_build [*] - Remove USE_GL knob altogether, it is pulled automatically with Qt ports - While here, use less aggressive patching of CMakeLists.txt Requested by: makc [*]
This commit is contained in:
parent
8060ca1907
commit
7524a48b4a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=363971
@ -3,6 +3,7 @@
|
||||
|
||||
PORTNAME= stellarium
|
||||
PORTVERSION= 0.13.0
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= astro
|
||||
MASTER_SITES= SF/${PORTNAME}/Stellarium-sources/${PORTVERSION}
|
||||
DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
|
||||
@ -14,8 +15,8 @@ COMMENT= 3D photo-realistic sky renderer (planetarium)
|
||||
LICENSE= GPLv2
|
||||
|
||||
USES= cmake gettext iconv
|
||||
USE_GL= gl
|
||||
USE_QT5= qmake_build buildtools core concurrent declarative linguist
|
||||
USE_QT5= qmake_build buildtools_build linguisttools_build \
|
||||
core concurrent declarative
|
||||
INSTALLS_ICONS= yes
|
||||
|
||||
PORTDOCS= AUTHORS ChangeLog README
|
||||
@ -46,7 +47,7 @@ CMAKE_ARGS+= -DENABLE_SOUND:BOOL=OFF
|
||||
.endif
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e '/ -Wno-unused-result/d' ${WRKSRC}/CMakeLists.txt
|
||||
@${REINPLACE_CMD} -e 's, -Wno-unused-result,,' ${WRKSRC}/CMakeLists.txt
|
||||
|
||||
post-install:
|
||||
.if ${PORT_OPTIONS:MMORE_STARS}
|
||||
|
Loading…
Reference in New Issue
Block a user