svn commit: r567468 - head/databases/recutils

Alexey Dokuchaev danfe at FreeBSD.org
Sat Mar 6 08:26:34 UTC 2021


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,' \


More information about the svn-ports-all mailing list