From owner-dev-commits-ports-main@freebsd.org Thu May 13 22:24:58 2021 Return-Path: Delivered-To: dev-commits-ports-main@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 4B5D663118A; Thu, 13 May 2021 22:24:58 +0000 (UTC) (envelope-from git@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 4Fh5nQ1RSsz4RGw; Thu, 13 May 2021 22:24:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 214C926C67; Thu, 13 May 2021 22:24:58 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 14DMOwZn083033; Thu, 13 May 2021 22:24:58 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 14DMOwDq083032; Thu, 13 May 2021 22:24:58 GMT (envelope-from git) Date: Thu, 13 May 2021 22:24:58 GMT Message-Id: <202105132224.14DMOwDq083032@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Yuri Victorovich Subject: git: de16e756bea5 - main - math/gravity: Fix the test target MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: yuri X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: de16e756bea51dcbe3d4cdf0cb42c50973c01277 Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-main@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commits to the main branch of the FreeBSD ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 13 May 2021 22:24:58 -0000 The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=de16e756bea51dcbe3d4cdf0cb42c50973c01277 commit de16e756bea51dcbe3d4cdf0cb42c50973c01277 Author: Yuri Victorovich AuthorDate: 2021-05-13 22:22:35 +0000 Commit: Yuri Victorovich CommitDate: 2021-05-13 22:24:46 +0000 math/gravity: Fix the test target Test executable is built by the project by default. This was changed in the patch and made conditional on a special cmake variable. The test target is now updated to reflect this. --- math/gravity/Makefile | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/math/gravity/Makefile b/math/gravity/Makefile index 3a91bf2c94f3..340e9aa3596b 100644 --- a/math/gravity/Makefile +++ b/math/gravity/Makefile @@ -36,6 +36,9 @@ CMAKE_ON= Boost Ipopt LDFLAGS+= -L${LOCALBASE}/lib/gcc${GCC_DEFAULT} do-test: - @${WRKSRC}/bin/Release/gravity_test + @cd ${BUILD_WRKSRC} && \ + ${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} -DBUILD_EXAMPLES:BOOL=ON ${CMAKE_SOURCE_PATH} && \ + ${SETENV} ${MAKE_ENV} ${MAKE_CMD} ${MAKE_ARGS} ${ALL_TARGET} && \ + ${WRKSRC}/bin/Release/gravity_test .include