[BACK]Return to Makefile CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / devel / check

File: [cvs.NetBSD.org] / pkgsrc / devel / check / Makefile (download)

Revision 1.28, Tue Nov 3 11:09:19 2020 UTC (2 months, 2 weeks ago) by schmonz
Branch: MAIN
CVS Tags: pkgsrc-2020Q4-base, pkgsrc-2020Q4, HEAD
Changes since 1.27: +2 -3 lines

Update to 0.15.2. From the changelog:

* Fix warning in ptr macros with pointer to integer cast
* Fix various warnings in Check's unit tests
* Replace gnu_printf with printf in format __attribute__
* Fix warnings from Check's macros: "warning: too many arguments for format"
* Fix format specifiers that do not match the argument types
* Define CK_ATTRIBUTE_FORMAT for GCC >= 2.95.3, to make use of
  'gnu_printf' format attribute
* Refactor tests to fix signed - unsigned conversions
* Refactor some Check internals to use proper integer types
* Implement missing mutual exclusion for Windows hosts
* Add support for FetchContent in CMake
* Rename CMake project from 'check' to 'Check'
* Fix for checking for wrong tool when building docs in Autotools
* Fix compiler warning with printf format

# $NetBSD: Makefile,v 1.28 2020/11/03 11:09:19 schmonz Exp $
#

DISTNAME=	check-0.15.2
CATEGORIES=	devel
MASTER_SITES=	${MASTER_SITE_GITHUB:=libcheck/}

MAINTAINER=	pkgsrc-users@NetBSD.org
HOMEPAGE=	http://check.sourceforge.net/
COMMENT=	Unit test framework for C
LICENSE=	gnu-lgpl-v2.1

GNU_CONFIGURE=	yes
#CONFIGURE_ENV=	ac_cv_path_AWK_PATH=gawk
USE_TOOLS=	automake autoreconf makeinfo pkg-config # gawk
USE_LIBTOOL=	yes
INFO_FILES=	yes

PKGCONFIG_OVERRIDE=	check.pc.in

CONFIGURE_ARGS+=	--enable-build-docs=no

TEST_TARGET=	check

pre-configure:
	cd ${WRKSRC} && autoreconf -fiv

.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"