From nobody Sun Jan 02 06:49:42 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 31F2C18FEC8B; Sun, 2 Jan 2022 06:49:43 +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 4JRTyG6WxXz3Gb4; Sun, 2 Jan 2022 06:49:42 +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 B954D53D9; Sun, 2 Jan 2022 06:49:42 +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 2026ngRI071155; Sun, 2 Jan 2022 06:49:42 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 2026ngFP071154; Sun, 2 Jan 2022 06:49:42 GMT (envelope-from git) Date: Sun, 2 Jan 2022 06:49:42 GMT Message-Id: <202201020649.2026ngFP071154@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Alexey Dokuchaev Subject: git: 877cceb2366e - main - games/lmpc: allow the port to build on more 32-bit architectures 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: danfe X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 877cceb2366ec51535ac0ad1ba0765dd16227fcd Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1641106182; 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=XANGvDpLxiokMbWnfPxOYP79MqTd8BbmByyx+b+IRlE=; b=o6bqssDT3Ciq2k4EcqbOE4xcqv0tmQwE9ogEE2Hzagn2ozDzTS9WrVp2EwyN8NlFVGUcq3 VkDvWlxZlnod8oNpYR29f2sbeLDrb2cm3tHP9U9OONOXKozuH3nQE7++4wlmBJVe/sQiGm L1PEpqYCGlp/CtP3EXI2rgIjs/B120Yc4FYcNYP057wflYX+bbbwoRVr4uxA4/665QFOwv tQarPL3OQOq/AKw1hMfUYpxQakobBOLI3CzB8IqwdeVKFTZ1vbYazL5mLYoS6h8uRu2JEa WLTIwoRW9rHhxOA39SU1uZs4uJ9bbDIi40VFwC9BcG7nRSzeHDorRq1YIGc47A== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1641106182; a=rsa-sha256; cv=none; b=OV3JMhtUxrbVeKXEre3Tr11WkqEKNAO4amrsSrP0td/SxB6qafbWxyYdAKaGSRks7wdzFN NsjF1WWVO6bEvijJRwldC4jQMriYfxq+vNTOyJA2zPgzZ4rVaeF/o8YP50TkeePy/Yhqfr 8qcN/iVNYqY8hfAg7xr/T6y1rtc/BePzL/3RJuN8prZlK/PLlqfhCltLl5ouf9DXoRy4S6 WNr6TMg/VPxRSfF+D45QUH1VXufi5E7+DH6dRijK7vqHizZSpSMGtFnY/Y0ASEm9PPEtWI uYL781T8iQkmXrMGv/tvhdOwxlhbWeyaqOrLSswkmENgjY5XyrxeyQPC0PYZaA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch main has been updated by danfe: URL: https://cgit.FreeBSD.org/ports/commit/?id=877cceb2366ec51535ac0ad1ba0765dd16227fcd commit 877cceb2366ec51535ac0ad1ba0765dd16227fcd Author: Alexey Dokuchaev AuthorDate: 2022-01-02 06:48:40 +0000 Commit: Alexey Dokuchaev CommitDate: 2022-01-02 06:48:40 +0000 games/lmpc: allow the port to build on more 32-bit architectures Convert to idiomatic ONLY_FOR_ARCHS and register one more object file which depends on the generated "udemy.h" header file to fix parallel builds (-jX). While here, adjust LICENSE (it is GPLv2 or later) and factor out installation of documentation into the dedicated helper target. PR: 260697 Submitted by: Robert Clausecker --- games/lmpc/Makefile | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/games/lmpc/Makefile b/games/lmpc/Makefile index c8359dea0e85..4b30532aa491 100644 --- a/games/lmpc/Makefile +++ b/games/lmpc/Makefile @@ -11,7 +11,10 @@ EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} MAINTAINER= danfe@FreeBSD.org COMMENT= Tools to manipulate some FPS games demo recordings -LICENSE= GPLv2 +LICENSE= GPLv2+ + +ONLY_FOR_ARCHS= armv6 armv7 i386 mips powerpc +ONLY_FOR_ARCHS_REASON= assumes sizeof(long) == 4 USES= gmake perl5 shebangfix GNU_CONFIGURE= yes @@ -28,17 +31,11 @@ PLIST_FILES= ${SCRIPTS:S,^,bin/,} ${PROGRAMS:S,^,bin/,} OPTIONS_DEFINE= DOCS -.include - -.if ${ARCH} != "i386" -IGNORE= does not work on ${ARCH}: assumes sizeof(long) == 4 -.endif - post-patch: @${REINPLACE_CMD} -e 's,bin doc src spec,bin src,' \ ${WRKSRC}/Makefile.in @${REINPLACE_CMD} -e 's,^record\.o,dbs.o demcut.o demotexty.o \ - lmpc.o record.o udem.o udm2.o udm3.o uqwd.o,' \ + lmpc.o record.o udem.o udeml.o udm2.o udm3.o uqwd.o,' \ ${WRKSRC}/src/Makefile.in do-install: @@ -46,6 +43,8 @@ do-install: ${STAGEDIR}${PREFIX}/bin ${INSTALL_PROGRAM} ${PROGRAMS:S,^,${WRKSRC}/src/,} \ ${STAGEDIR}${PREFIX}/bin + +do-install-DOCS-on: @${MKDIR} ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${WRKSRC}/README ${STAGEDIR}${DOCSDIR} ${INSTALL_DATA} ${FETCHED_DOCS:S,^,${DISTDIR}/,} ${STAGEDIR}${DOCSDIR}