mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-29 01:13:08 +00:00
Unbreak after the switch from USE_GCC=4.8+ to USE_GCC=yes
Reported by: pkg-fallout
This commit is contained in:
parent
f9eb7af7c7
commit
94d4d7fdbe
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=400629
@ -47,14 +47,15 @@ PLIST_SUB+= TT_USER=${USERS} \
|
||||
OPTIONS_DEFINE= DEBUG
|
||||
DEBUG_DESC= Enable debug
|
||||
|
||||
.if defined(USE_GCC) && ${USE_GCC:S/+//} == 4.8
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_trivia_config.h.cmake
|
||||
.endif
|
||||
|
||||
NOT_FOR_ARCHS= sparc64
|
||||
NOT_FOR_ARCHS_REASON= not yet ported to this architecture
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
# XXX we rely on USES=perl5 to load bsd.default-versions.mk
|
||||
.if defined(USE_GCC) && ${USE_GCC} == yes && ${GCC_DEFAULT} == 4.8
|
||||
EXTRA_PATCHES= ${FILESDIR}/extra-patch-src_trivia_config.h.cmake
|
||||
.endif
|
||||
|
||||
.if ${PORT_OPTIONS:MDEBUG}
|
||||
CMAKE_BUILD_TYPE= RelWithDebugInfo
|
||||
@ -70,4 +71,4 @@ post-install:
|
||||
${STAGEDIR}${TT_RUNDIR} \
|
||||
${STAGEDIR}${ETCDIR}/instances.enabled
|
||||
|
||||
.include <bsd.port.mk>
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user