freebsd-ports/sysutils/dtc/Makefile
Piotr Kubaj d5b3aaa8b7 sysutils/dtc: fix build on GCC architectures
Use newer GCC:
util.h:64: warning: 'gnu_printf' is an unrecognized format function type
cc1: warnings being treated as errors
2020-09-16 12:26:08 +00:00

34 lines
675 B
Makefile

# $FreeBSD$
PORTNAME= dtc
PORTVERSION= 1.6.0
DISTVERSIONPREFIX= v
CATEGORIES= sysutils
PATCH_SITES= https://github.com/dgibson/dtc/commit/
PATCHFILES+= ca19c3db2b.patch:-p1 # https://github.com/dgibson/dtc/pull/41
MAINTAINER= uboot@FreeBSD.org
COMMENT= Device Tree Compiler
LICENSE= GPLv2
LIB_DEPENDS= libyaml.so:textproc/libyaml
USES= bison compiler:c11 gmake pkgconfig shebangfix
USE_LDCONFIG= yes
SHEBANG_FILES= dtdiff
TEST_TARGET= check
TEST_ENV= STATSZ="stat -f %Uz"
USE_GITHUB= yes
GH_ACCOUNT= dgibson
GH_PROJECT= dtc
MAKE_ARGS+= PREFIX=${PREFIX} NO_PYTHON=yes \
INSTALL_PROGRAM="${INSTALL_PROGRAM}" \
INSTALL_LIB="${INSTALL_LIB}"
.include <bsd.port.mk>