Date: Thu, 10 Sep 2015 09:24:01 +0000 (UTC) From: John Marino <marino@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r396557 - head/editors/libreoffice Message-ID: <201509100924.t8A9O1pg002789@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: marino Date: Thu Sep 10 09:24:00 2015 New Revision: 396557 URL: https://svnweb.freebsd.org/changeset/ports/396557 Log: 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. Modified: head/editors/libreoffice/Makefile Modified: head/editors/libreoffice/Makefile ============================================================================== --- head/editors/libreoffice/Makefile Thu Sep 10 09:15:55 2015 (r396556) +++ head/editors/libreoffice/Makefile Thu Sep 10 09:24:00 2015 (r396557) @@ -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 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 \
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201509100924.t8A9O1pg002789>