From aee438b1abaaac36ac2284dab1dc821a6958ee96 Mon Sep 17 00:00:00 2001 From: John Marino Date: Thu, 10 Sep 2015 09:24:00 +0000 Subject: [PATCH] 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. --- editors/libreoffice/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/editors/libreoffice/Makefile b/editors/libreoffice/Makefile index c4fb02dd84d7..2c44a26fe7ef 100644 --- a/editors/libreoffice/Makefile +++ b/editors/libreoffice/Makefile @@ -304,6 +304,7 @@ _MAKE_JOBS= # .include +.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 \