pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/games/iortcw
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.
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
Home |
Main Index |
Thread Index |
Old Index