mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-25 04:43:33 +00:00
editors/libreoffice: Limit libstdc++ check to FreeBSD
DragonFly's base libstdc++ *is* c++11 compliant, so marking LO broken solely based on use of libstdc++ is erroneous logic. However, limiting the check to FreeBSD (and the OSVERSION check after it) is legitimate, and that's what this commit does to unbreak DragonFly. If it had just been the one check, I would have used BROKEN_FreeBSD instead.
This commit is contained in:
parent
e10a12c0bd
commit
aee438b1ab
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=396557
@ -304,6 +304,7 @@ _MAKE_JOBS= #
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if ${OPSYS} == FreeBSD
|
||||
.if ${COMPILER_FEATURES:Mlibstdc++}
|
||||
BROKEN= Build with system libstdc++ is unsupported
|
||||
.endif
|
||||
@ -312,6 +313,7 @@ BROKEN= Build with system libstdc++ is unsupported
|
||||
BUILD_DEPENDS+= ${LOCALBASE}/bin/flex:${PORTSDIR}/textproc/flex
|
||||
CONFIGURE_ENV+= FLEX=${LOCALBASE}/bin/flex
|
||||
.endif
|
||||
.endif # FreeBSD
|
||||
|
||||
.if ${COMPILER_TYPE} == "clang"
|
||||
CXXFLAGS_WARN= -Woverloaded-virtual -Wno-unknown-pragmas \
|
||||
|
Loading…
Reference in New Issue
Block a user