Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Dec 2018 16:25:37 +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: r486871 - head/audio/libcoverart
Message-ID:  <201812071625.wB7GPb9j072365@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Fri Dec  7 16:25:37 2018
New Revision: 486871
URL: https://svnweb.freebsd.org/changeset/ports/486871

Log:
  To build on GCC-based architectures, we need to use GCC from ports with
  c99, c++98 and -Wno-implicit-fallthrough.
  
  PR:		233839
  Submitted by:	Piotr Kubaj
  Approved by:	portmgr (tier-2 blanket)

Modified:
  head/audio/libcoverart/Makefile

Modified: head/audio/libcoverart/Makefile
==============================================================================
--- head/audio/libcoverart/Makefile	Fri Dec  7 16:18:53 2018	(r486870)
+++ head/audio/libcoverart/Makefile	Fri Dec  7 16:25:37 2018	(r486871)
@@ -14,8 +14,12 @@ LICENSE=	LGPL20
 LIB_DEPENDS=	libjansson.so:devel/jansson \
 		libneon.so:www/neon
 
-USES=		cmake pathfix
+USES=		compiler:c11 cmake pathfix
+USE_CSTD=	c99
+USE_CXXSTD=	c++98
 USE_LDCONFIG=	yes
+
+CXXFLAGS+=	-Wno-implicit-fallthrough
 
 post-patch:
 	${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812071625.wB7GPb9j072365>