Date: Fri, 29 Mar 2019 15:35:42 +0000 (UTC) From: Mark Linimon <linimon@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r497153 - head/www/kiwix-tools Message-ID: <201903291535.x2TFZgXm085759@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: linimon Date: Fri Mar 29 15:35:42 2019 New Revision: 497153 URL: https://svnweb.freebsd.org/changeset/ports/497153 Log: Fix build on GCC-based architectures: ERROR: C++ Compiler does not support -std=c++11 and adjust CFLAGS. PR: 236752 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket) Modified: head/www/kiwix-tools/Makefile Modified: head/www/kiwix-tools/Makefile ============================================================================== --- head/www/kiwix-tools/Makefile Fri Mar 29 15:30:00 2019 (r497152) +++ head/www/kiwix-tools/Makefile Fri Mar 29 15:35:42 2019 (r497153) @@ -15,10 +15,13 @@ LIB_DEPENDS= libkiwix.so:devel/kiwix-lib \ libctpp2.so:textproc/ctpp2 \ libzim.so:devel/libzim -USES= meson pkgconfig +USES= compiler:c++11-lang meson pkgconfig USE_GITHUB= yes GH_ACCOUNT= kiwix USE_RC_SUBR= kiwix_serve + +CXXFLAGS_gcc= -Wno-error=maybe-uninitialized +CXXFLAGS+= ${CXXFLAGS_${CHOSEN_COMPILER_TYPE}} post-install: ${MKDIR} ${STAGEDIR}${PREFIX}/share/kiwix
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903291535.x2TFZgXm085759>