Files
ports/misc/libmodulemd/Makefile
Mark Linimon a1b6450496 Add compiler:c11 to USES to fix build on GCC-based systems:
cc1: error: unrecognized command line option "-std=c11"

Approved by:	portmgr (tier-2 blanket)
2020-09-27 08:09:53 +00:00

27 lines
714 B
Makefile

# $FreeBSD$
PORTNAME= libmodulemd
DISTVERSION= 2.9.4
CATEGORIES= misc
MASTER_SITES= https://github.com/fedora-modularity/${PORTNAME}/releases/download/${PORTNAME}-${DISTVERSION}/
DISTNAME= modulemd-${DISTVERSION}
MAINTAINER= yuri@FreeBSD.org
COMMENT= C Library for manipulating module metadata files
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= bash:shells/bash \
help2man:misc/help2man
LIB_DEPENDS= librpmio.so:archivers/rpm4 \
libyaml.so:textproc/libyaml
USES= compiler:c11 gnome meson pkgconfig tar:xz
USE_GNOME= glib20 introspection:build
USE_LDCONFIG= yes
MESON_ARGS= -Ddeveloper_build=false -Dskip_formatters=true -Dwith_manpages="enabled" -Dwith_docs=false
.include <bsd.port.mk>