svn commit: r396557 - head/editors/libreoffice

John Marino marino at FreeBSD.org
Thu Sep 10 09:24:01 UTC 2015


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 \


More information about the svn-ports-head mailing list