From owner-dev-commits-ports-all@freebsd.org Tue Jun 1 17:42:30 2021 Return-Path: Delivered-To: dev-commits-ports-all@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 4329D659605; Tue, 1 Jun 2021 17:42:30 +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 4Fvfck1Kh2z3vMy; Tue, 1 Jun 2021 17:42:30 +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 15EDD2757F; Tue, 1 Jun 2021 17:42:30 +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 151HgU9X031575; Tue, 1 Jun 2021 17:42:30 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 151HgUtl031566; Tue, 1 Jun 2021 17:42:30 GMT (envelope-from git) Date: Tue, 1 Jun 2021 17:42:30 GMT Message-Id: <202106011742.151HgUtl031566@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-branches@FreeBSD.org From: Dmitry Marakasov Subject: git: 2e5cc75779b1 - 2021Q2 - games/DDNet: fix running own binaries MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: amdmi3 X-Git-Repository: ports X-Git-Refname: refs/heads/2021Q2 X-Git-Reftype: branch X-Git-Commit: 2e5cc75779b158d926afbd3a80f8edc949f6f22f Auto-Submitted: auto-generated X-BeenThere: dev-commits-ports-all@freebsd.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: Commit messages for all branches of the ports repository List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 01 Jun 2021 17:42:30 -0000 The branch 2021Q2 has been updated by amdmi3: URL: https://cgit.FreeBSD.org/ports/commit/?id=2e5cc75779b158d926afbd3a80f8edc949f6f22f commit 2e5cc75779b158d926afbd3a80f8edc949f6f22f Author: Dmitry Marakasov AuthorDate: 2021-06-01 17:20:57 +0000 Commit: Dmitry Marakasov CommitDate: 2021-06-01 17:39:20 +0000 games/DDNet: fix running own binaries Specify path to binary dir explicitly, so the game could find its own binary for correctly restarting and server binary for running it (cherry picked from commit 397395a4e59136ec7b42c5ff44b02c029ae74626) --- games/DDNet/Makefile | 3 +++ 1 file changed, 3 insertions(+) diff --git a/games/DDNet/Makefile b/games/DDNet/Makefile index 52bec6373686..0c85edf99a62 100644 --- a/games/DDNet/Makefile +++ b/games/DDNet/Makefile @@ -2,6 +2,7 @@ PORTNAME= DDNet PORTVERSION= 15.4 +PORTREVISION= 2 CATEGORIES= games MASTER_SITES= https://ddnet.tw/downloads/ @@ -15,6 +16,8 @@ USES= cmake compiler:c++11-lang pkgconfig python sqlite:3 ssl tar:xz CMAKE_ARGS= -DPYTHON_EXECUTABLE="${PYTHON_CMD}" CMAKE_OFF= AUTOUPDATE DOWNLOAD_GTEST PREFER_BUNDLED_LIBS +CXXFLAGS+= -DBINARY_DIR="\\\"${PREFIX}/bin\\\"" + PORTDATA= * DATADIR= ${PREFIX}/share/ddnet