aboutsummaryrefslogtreecommitdiff
path: root/audio/libcoverart
diff options
context:
space:
mode:
authorMark Linimon <linimon@FreeBSD.org>2018-12-22 02:24:22 +0000
committerMark Linimon <linimon@FreeBSD.org>2018-12-22 02:24:22 +0000
commiteb0c0e7146bf499af442de9d5f604b92156822d2 (patch)
tree2ddbb8d9d244e40e95b4117caff3035a16e967b2 /audio/libcoverart
parent3ff147be39200ce94dfac21b7eaece190e85950f (diff)
downloadports-eb0c0e7146bf499af442de9d5f604b92156822d2.tar.gz
ports-eb0c0e7146bf499af442de9d5f604b92156822d2.zip
Building on GCC-based architectures after the upgrade to GCC8 requires
adding -Wno-unused-function -Wno-class-memaccess -Wno-catch-value to CXXFLAGS and -Wno-format-overflow to CFLAGS. PR: 234067 Submitted by: Piotr Kubaj Approved by: portmgr (tier-2 blanket)
Notes
Notes: svn path=/head/; revision=488051
Diffstat (limited to 'audio/libcoverart')
-rw-r--r--audio/libcoverart/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/audio/libcoverart/Makefile b/audio/libcoverart/Makefile
index 7c205ff40367..7e1cb0e0159a 100644
--- a/audio/libcoverart/Makefile
+++ b/audio/libcoverart/Makefile
@@ -21,6 +21,11 @@ USE_LDCONFIG= yes
CXXFLAGS+= -Wno-implicit-fallthrough
+.if exists(/usr/lib/libstdc++.so)
+CXXFLAGS+= -Wno-unused-function -Wno-class-memaccess -Wno-catch-value
+CFLAGS+= -Wno-format-overflow
+.endif
+
post-patch:
${REINPLACE_CMD} -e 's|/usr/local|${LOCALBASE}|g' \
${WRKSRC}/cmake/modules/*.cmake