From nobody Tue Feb 08 21:59:14 2022 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 BF4A619BDA7C; Tue, 8 Feb 2022 21:59:14 +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 4JtcNf4zHlz4kkt; Tue, 8 Feb 2022 21:59:14 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644357554; 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=GabRyf7tGtEsLrHGhvJWPtyS28QgRKpIGVyR5xSpGkI=; b=CsuTQpsliOZ86XMqMXWuASOPUvAN1PCFddn5mCJ3Qr/fVX8keDe9U4Tb/PIiIZLBzUEk1I FvCSzLm+z9bGBchuDvd8s7G5Ah71vEolO/CJ13faBAeB2FLtgr7uckEAC73sUfftn0lEN0 OlMT3qg3KLQaBT9/180gOf05LwGdxS92GsU9IFlKhmkFZWQR8PNPHpqR8UKMTrf7IWTGUF 7ep0UHIabSr7b+Kl8taRwOgc5SNaFH+OLkydZhTB2cBp/nAPXwjkXfsA/I4vpgSo4esJIO FML7kgWEsqiY/jXAtMyF6uDR+W1BVO2E1m5h8NNnEVl8ed2C4shMT98g9/fetQ== 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 8B2D1213FF; Tue, 8 Feb 2022 21:59:14 +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 218LxE0l057284; Tue, 8 Feb 2022 21:59:14 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 218LxEn3057283; Tue, 8 Feb 2022 21:59:14 GMT (envelope-from git) Date: Tue, 8 Feb 2022 21:59:14 GMT Message-Id: <202202082159.218LxEn3057283@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Piotr Kubaj Subject: git: 350e8445193d - main - games/stratagus: fix build on powerpc 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: pkubaj X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 350e8445193d65b9933703a7d78499f7208a2b56 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1644357554; 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=GabRyf7tGtEsLrHGhvJWPtyS28QgRKpIGVyR5xSpGkI=; b=yTHkzwEFgqwHi1gdVPCpQjbSAO6fUjFSpZHH2IOqv2J45EQGLjtWm05PcZIrAaarTicfyG YK7Zqeykk5kvlg8/38VgZj401yOSRcemx5X3rnAjLsxqs0RIG07B0kMC8ijoEMXcWM9rTF lihTAzQ7tWtwvxnWgsOD2OIqdAw5IXlQFK4j3kT+eLLD/EpPmVj30uDg1xzvo7qBHe+3Gf MbBon3ZdXzgXsAoM8oaprkwGyl5BneQ2k/vXYboz9vWszlM7eCQYh2f1YPBQ4a9FfVTTo7 DIvGDOpzHcq5+nFMVMoPCug58srG5lur/VT/AbN4QKQvyR2nOI0X0ZUk8uWZ8Q== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1644357554; a=rsa-sha256; cv=none; b=dA9mYcYEHAlEIsNdkQt0LrO81vNEXw2/uuec3nWNT5XxNS7eORuD9mwwWNDUBy5YF30FO3 G6ChwvjqbefCziFVHT2YZLwfjGlKlLkhVcThQtXhHt/DohjEGIgA5tmm1uLdyN9oIz3fVu nsSxxwUQCDxmhyJvMvNXezIxXIqpGqYeMz2+v6C5Or0QLqtXzO9AyxOMCWnaizR8k0buHc RJl4ymhsutkD1hu+u2nUSGNdHN2a7w0VwSsBwztS1IdHnfBn6mGQut+nZW7Se99DRBjcl1 Xhe1GzkunPqCWKjgdg3H8mfFijua5Ll6JptfxACSjXP+9MHyefSydYokYg1iaw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by pkubaj: URL: https://cgit.FreeBSD.org/ports/commit/?id=350e8445193d65b9933703a7d78499f7208a2b56 commit 350e8445193d65b9933703a7d78499f7208a2b56 Author: Piotr Kubaj AuthorDate: 2022-02-08 21:52:34 +0000 Commit: Piotr Kubaj CommitDate: 2022-02-08 21:52:34 +0000 games/stratagus: fix build on powerpc /usr/bin/c++ -DHAVE_GETOPT -DHAVE_STRCASESTR -DHAVE_STRNLEN -DPIXMAPS=\"/usr/local/share/pixmaps\" -DUSE_BSD -DUSE_BZ2LIB -DUSE_MNG -DUSE_THEORA -DUSE_VORBIS -DUSE_ZLIB -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/guichan/include -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/guichan/include/guichan -I/wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/third_party -I/wrkdirs/usr/ports/games/stratagus/work/.build -I/usr/local/include/lua51 -I/usr/local/include/SDL2 -I/usr/local/include -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-register -fsigned-char -O2 -pipe -fstack-protector-strong -fno-strict-aliasing -Wno-register -std=gnu++17 -MD -MT CMakeFiles/stratagus.dir/src/map/fow.cpp.o -MF CMakeFiles/stratagus.dir/src/map/fow.cpp.o.d -o CMakeFiles/stratagus.dir/src/map/fow.cpp.o -c /wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/map/fow.cpp /wrkdirs/usr/ports/games/stratagus/work/stratagus-3.2.0/src/map/fow.cpp:39:10: fatal error: 'omp.h' file not found ^~~~~~~ --- games/stratagus/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/games/stratagus/Makefile b/games/stratagus/Makefile index 636d15e370bc..39fafe382c73 100644 --- a/games/stratagus/Makefile +++ b/games/stratagus/Makefile @@ -18,7 +18,7 @@ RUN_DEPENDS= zenity:x11/zenity USE_GITHUB= yes GH_ACCOUNT= Wargus -USES= cmake compiler:c++17-lang lua:51 pkgconfig sdl +USES= cmake lua:51 pkgconfig sdl USE_SDL= sdl2 mixer2 image2 CMAKE_ARGS= -DGAMEDIR:STRING="bin" \ -DTOLUA++_APP:STRING="tolua++-${LUA_VER}" \ @@ -43,6 +43,14 @@ VORBIS_LIB_DEPENDS= libvorbis.so:audio/libvorbis \ libogg.so:audio/libogg VORBIS_CMAKE_BOOL= WITH_OGGVORBIS +.include + +.if ${ARCH} == powerpc +USES+= compiler:gcc-c++11-lib +.else +USES+= compiler:c++17-lang +.endif + .include .if ${CHOSEN_COMPILER_TYPE} == clang