Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 Mar 2021 08:26:33 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r567468 - head/databases/recutils
Message-ID:  <202103060826.1268QXif052087@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Sat Mar  6 08:26:33 2021
New Revision: 567468
URL: https://svnweb.freebsd.org/changeset/ports/567468

Log:
  Hook the tests to our framework.  Unfortunately, `devel/check' should be
  available during the build stage (it is detected by the configure script),
  so it must be put on the BUILD_DEPENDS rather than expected TEST_DEPENDS.

Modified:
  head/databases/recutils/Makefile

Modified: head/databases/recutils/Makefile
==============================================================================
--- head/databases/recutils/Makefile	Sat Mar  6 08:14:29 2021	(r567467)
+++ head/databases/recutils/Makefile	Sat Mar  6 08:26:33 2021	(r567468)
@@ -18,12 +18,11 @@ USES=		charsetfix libtool makeinfo pkgconfig readline
 GNU_CONFIGURE=	yes
 USE_LDCONFIG=	yes
 INSTALL_TARGET=	install-strip
-TEST_TARGET=	check
 
 INFO=		rec-mode recutils
 PORTDOCS=	AUTHORS ChangeLog NEWS README
 
-OPTIONS_DEFINE=	BASH DOCS CURL GCRYPT MDB NLS
+OPTIONS_DEFINE=	BASH CURL DOCS GCRYPT MDB NLS TEST
 OPTIONS_DEFAULT=	CURL GCRYPT MDB
 OPTIONS_SUB=	yes
 
@@ -47,6 +46,9 @@ MDB_CONFIGURE_ENV_OFF=	ac_cv_lib_mdb_mdb_get_version=n
 
 NLS_USES=		gettext
 NLS_CONFIGURE_OFF=	--disable-nls
+
+TEST_BUILD_DEPENDS=	${LOCALBASE}/include/check.h:devel/check
+TEST_VARS=	TEST_TARGET=check
 
 post-patch:
 	@${REINPLACE_CMD} -e 's,mdb_init,mdb_get_version,' \



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202103060826.1268QXif052087>