svn commit: r486871 - head/audio/libcoverart
Mark Linimon
linimon at FreeBSD.org
Fri Dec 7 16:25:38 UTC 2018
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' \
More information about the svn-ports-all
mailing list