From nobody Fri Jul 21 18:26:27 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R6ygR5c44z4nQdj; Fri, 21 Jul 2023 18:26:27 +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 4R6ygR51Nlz41hx; Fri, 21 Jul 2023 18:26:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689963987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rdQJUFwoCCAnTIZPlITX0WqWFE7ILgtGPfuhBJnwOcY=; b=BTdNFLxnuIpdR1VNmJiXm14MKzJLovsrWDq+B5T6F5b/3bQjOjlejZG9edeVFfvEVt1OIX 0xDodaR0CGfts4cZO25A4I/QHEr5osWJz6SGnutISx/x2OWcPUx/FSz/sfXGAhveEL+gjT CB3G+HKoIBvLFodNZIYnGtpTF1jsMYkYjIOjmlhzhyLfa/nbxJSkQBzL+wqFQHtyU9AwRd /olXptbCJv3tgCEimA2D95H/OG9ymNMBtRd1xje0sbQyF3vXC2PBaZVQ6DB4IukhaHv/+d e7lApkH7KznNH/VZ4PhHitUixiJVgxZHRIYBHGe603LPqmLD8mKovHiRje8ZxA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689963987; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=rdQJUFwoCCAnTIZPlITX0WqWFE7ILgtGPfuhBJnwOcY=; b=Kzl1o5ANzKku/TBQD0qydKCtGaDQsdz27HpVewcQ1BZi7IZAmocfGLDSLVAIUWUhz85X1a wsIxyhBesLZVW8crYieaxvSwjs19T4724IiisWbXTm0Mv3Q2ymJaTahDAfe8XiPyPBj+wu 4M6vKUBfEFdupZiZiAwNUPFtfeEMydCSO/6RmmA+hfzU+PxFbqKqZuU6NEfKX/ZYmQ/cKs 1XtrG6iT+dtlDM44V3YOOmFH0RCxO142xJhH5O314orohu7HQXtuQjBW3M8JVVvP+vNKLP RyAX8H5aWgJAnS/qXDggZitEDdLRkcfcJ5C9D4S6JVioEwnLS+2NbAQTTzlMjg== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689963987; a=rsa-sha256; cv=none; b=lKmca7/FJHTMcJX6okRbBBjXZ8Pg8LT7yDb+Lx4NLtQFGcSgvQwPvvO12jdlQcSiqbVy/p FRGEyius3ep1CS8HRw8LWpbvJ4AKoFo93DPcA0JK7wM/2CKxMP0q2CylpfPKLU7KW0xJWe cn0HmJL42Ckrny72JrZpYl55RQ78I7FZwviebpfbYnmfbUn+lvzdjAs7lvLPUMFhwpz/88 dw6T+ppmuPILEEeDnl7dBB89x9I2ssxFxvBwOFT9x9N70fkENnhqy4AC9dsDqiiZhmN+UA SrnhmHbs7ANcCdSrfequ97zFS3Rt75uxhmgru4M/LmDEjBjh5Hg9QZU9W7XSXA== 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 4R6ygR46tgzNLm; Fri, 21 Jul 2023 18:26:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36LIQRdI091229; Fri, 21 Jul 2023 18:26:27 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36LIQRjE091228; Fri, 21 Jul 2023 18:26:27 GMT (envelope-from git) Date: Fri, 21 Jul 2023 18:26:27 GMT Message-Id: <202307211826.36LIQRjE091228@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Muhammad Moinur Rahman Subject: git: 699949d3b3a6 - main - games/motogt: Fix build with llvm16 List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: bofh X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 699949d3b3a6031412f425ca0e4b090d57763dfe Auto-Submitted: auto-generated The branch main has been updated by bofh: URL: https://cgit.FreeBSD.org/ports/commit/?id=699949d3b3a6031412f425ca0e4b090d57763dfe commit 699949d3b3a6031412f425ca0e4b090d57763dfe Author: Muhammad Moinur Rahman AuthorDate: 2023-07-21 18:12:26 +0000 Commit: Muhammad Moinur Rahman CommitDate: 2023-07-21 18:26:14 +0000 games/motogt: Fix build with llvm16 - Pet portclippy Approved by: portmgr (blanket) Sponsored by: The FreeBSD Foundation --- games/motogt/Makefile | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/games/motogt/Makefile b/games/motogt/Makefile index 8050eb8f0c28..0bdb27956d72 100644 --- a/games/motogt/Makefile +++ b/games/motogt/Makefile @@ -9,26 +9,29 @@ MAINTAINER= amdmi3@FreeBSD.org COMMENT= 2D top-viewed motorcycle racing game WWW= http://motogt.sourceforge.net/ -LIB_DEPENDS= libsfml1-system.so:devel/sfml1 \ - libpng.so:graphics/png - LICENSE= GPLv2 CC-BY-SA-3.0 LICENSE_COMB= multi -LICENSE_FILE_GPLv2= ${WRKSRC}/doc/gpl.txt LICENSE_FILE_CC-BY-SA-3.0= ${WRKSRC}/doc/cc-by-sa.txt +LICENSE_FILE_GPLv2= ${WRKSRC}/doc/gpl.txt + +LIB_DEPENDS= libsfml1-system.so:devel/sfml1 \ + libpng.so:graphics/png USES= gl localbase:ldflags zip +USE_CXXSTD= c++14 USE_GL= gl -BUILD_WRKSRC= ${WRKSRC}/src + MAKEFILE= Makefile.lnx MAKE_JOBS_UNSAFE= yes + SUB_FILES= motogt +BUILD_WRKSRC= ${WRKSRC}/src +WRKSRC= ${WRKDIR}/MotoGT + PLIST_FILES= bin/${PORTNAME} libexec/MotoGT.bin PORTDATA= * -WRKSRC= ${WRKDIR}/MotoGT - post-patch: @${REINPLACE_CMD} -e '/#include/ s|SFML|&1|' ${WRKSRC}/data/src/editor.cpp ${WRKSRC}/src/*.h @${REINPLACE_CMD} -e 's|-lsfml|&1|g' ${WRKSRC}/src/Makefile.lnx