Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id C43C584D0E for ; Mon, 3 Jul 2023 21:15:08 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id xRRNIya_QQER for ; Mon, 3 Jul 2023 21:15:08 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id 22B7784CCC for ; Mon, 3 Jul 2023 21:15:08 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 1767FFA89; Mon, 3 Jul 2023 21:15:08 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_16884189087300" MIME-Version: 1.0 Date: Mon, 3 Jul 2023 21:15:08 +0000 From: "Thomas Klausner" Subject: CVS commit: pkgsrc/games/iortcw To: pkgsrc-changes@NetBSD.org Approved: commit_and_comment Reply-To: wiz@netbsd.org X-Mailer: log_accum Message-Id: <20230703211508.1767FFA89@cvs.NetBSD.org> This is a multi-part message in MIME format. --_----------=_16884189087300 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" Module Name: pkgsrc Committed By: wiz Date: Mon Jul 3 21:15:08 UTC 2023 Modified Files: pkgsrc/games/iortcw: Makefile Log Message: iortcw: link against librt on NetBSD for shm_open() To generate a diff of this commit: cvs rdiff -u -r1.21 -r1.22 pkgsrc/games/iortcw/Makefile Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_16884189087300 Content-Disposition: inline Content-Length: 897 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/games/iortcw/Makefile diff -u pkgsrc/games/iortcw/Makefile:1.21 pkgsrc/games/iortcw/Makefile:1.22 --- pkgsrc/games/iortcw/Makefile:1.21 Sat May 6 19:09:21 2023 +++ pkgsrc/games/iortcw/Makefile Mon Jul 3 21:15:07 2023 @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.21 2023/05/06 19:09:21 ryoon Exp $ +# $NetBSD: Makefile,v 1.22 2023/07/03 21:15:07 wiz Exp $ DISTNAME= iortcw-1.51c PKGREVISION= 19 @@ -50,7 +50,7 @@ MAKE_FLAGS+= COMPILE_ARCH=${MACHINE_ARCH IORTCW_ARCH= x86 .elif ${MACHINE_ARCH} == "x86_64" IORTCW_ARCH= x86_64 -.elif !empty(MACHINE_ARCH:Mpowerpc64*) +.elif ${MACHINE_ARCH:Mpowerpc64*} IORTCW_ARCH= ppc64 .elif ${MACHINE_ARCH} == "sparc64" IORTCW_ARCH= sparc @@ -58,6 +58,9 @@ IORTCW_ARCH= sparc IORTCW_ARCH= ${MACHINE_ARCH} .endif +# shm_open() +LDFLAGS.NetBSD+= -lrt + PLIST_SUBST+= IORTCW_ARCH=${IORTCW_ARCH} INSTALLATION_DIRS+= bin --_----------=_16884189087300--