freebsd-ports/audio/libcoverart/Makefile
Gerald Pfeifer ea8c8ec7da Bump PORTREVISION for ports depending on the canonical version of GCC
as defined in Mk/bsd.default-versions.mk which has moved from GCC 8.3
to GCC 9.1 under most circumstances now after revision 507371.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
   c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, everything INDEX-11 shows with a dependency on lang/gcc9 now.

PR:		238330
2019-07-26 20:46:53 +00:00

36 lines
798 B
Makefile

# $FreeBSD$
PORTNAME= libcoverart
PORTVERSION= 1.0.0
PORTREVISION= 6
CATEGORIES= audio
MASTER_SITES= https://github.com/metabrainz/${PORTNAME}/releases/download/release-${PORTVERSION}/
MAINTAINER= jhale@FreeBSD.org
COMMENT= Library for accessing the MusicBrainz cover art archive
LICENSE= LGPL20
LIB_DEPENDS= libjansson.so:devel/jansson \
libneon.so:www/neon
USES= compiler:c11 cmake:insource pathfix
USE_CSTD= c99
USE_CXXSTD= c++98
USE_LDCONFIG= yes
CXXFLAGS+= -Wno-implicit-fallthrough
.include <bsd.port.pre.mk>
.if ${CHOSEN_COMPILER_TYPE} == gcc
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
.include <bsd.port.post.mk>