From owner-svn-ports-head@freebsd.org Sat Mar 6 08:26:34 2021 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1273055CE17; Sat, 6 Mar 2021 08:26:34 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4DsyPQ01mpz3HQp; Sat, 6 Mar 2021 08:26:34 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id E7C152060D; Sat, 6 Mar 2021 08:26:33 +0000 (UTC) (envelope-from danfe@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id 1268QXoC052088; Sat, 6 Mar 2021 08:26:33 GMT (envelope-from danfe@FreeBSD.org) Received: (from danfe@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id 1268QXif052087; Sat, 6 Mar 2021 08:26:33 GMT (envelope-from danfe@FreeBSD.org) Message-Id: <202103060826.1268QXif052087@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: danfe set sender to danfe@FreeBSD.org using -f From: Alexey Dokuchaev Date: Sat, 6 Mar 2021 08:26:33 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r567468 - head/databases/recutils X-SVN-Group: ports-head X-SVN-Commit-Author: danfe X-SVN-Commit-Paths: head/databases/recutils X-SVN-Commit-Revision: 567468 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Mar 2021 08:26:34 -0000 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,' \