pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/etlegacy etlegacy: have cmake figure out whether...
details: https://anonhg.NetBSD.org/pkgsrc/rev/123a2e741930
branches: trunk
changeset: 397453:123a2e741930
user: maya <maya%pkgsrc.org@localhost>
date: Sun Jun 23 11:20:23 2019 +0000
description:
etlegacy: have cmake figure out whether -ldl should be used.
Make per-OS PLISTs because for some reason it makes one file include
per-OS names. It would be easier to just not do that... but that's what
it already does.
the linux case is actually "else". I think the linux logic can be used
for all OSes after this.
diffstat:
games/etlegacy/Makefile | 3 +--
games/etlegacy/PLIST | 3 +--
games/etlegacy/PLIST.Darwin | 2 ++
games/etlegacy/PLIST.FreeBSD | 2 ++
games/etlegacy/PLIST.Linux | 2 ++
games/etlegacy/PLIST.NetBSD | 2 ++
games/etlegacy/PLIST.OpenBSD | 2 ++
games/etlegacy/distinfo | 3 ++-
games/etlegacy/patches/patch-cmake_ETLPlatform.cmake | 16 ++++++++++++++++
9 files changed, 30 insertions(+), 5 deletions(-)
diffs (100 lines):
diff -r 72f1db227067 -r 123a2e741930 games/etlegacy/Makefile
--- a/games/etlegacy/Makefile Sun Jun 23 10:59:40 2019 +0000
+++ b/games/etlegacy/Makefile Sun Jun 23 11:20:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2019/05/29 19:52:49 adam Exp $
+# $NetBSD: Makefile,v 1.4 2019/06/23 11:20:23 maya Exp $
PKGNAME= etlegacy-2.76
PKGREVISION= 2
@@ -73,7 +73,6 @@
.include "../../devel/zlib/buildlink3.mk"
.include "../../x11/libX11/buildlink3.mk"
.include "../../x11/libICE/buildlink3.mk"
-BUILDLINK_TRANSFORM+= rm:-ldl
.include "../../mk/dlopen.buildlink3.mk"
.include "../../mk/jpeg.buildlink3.mk"
.include "../../mk/pthread.buildlink3.mk"
diff -r 72f1db227067 -r 123a2e741930 games/etlegacy/PLIST
--- a/games/etlegacy/PLIST Sun Jun 23 10:59:40 2019 +0000
+++ b/games/etlegacy/PLIST Sun Jun 23 11:20:23 2019 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2019/05/18 17:29:47 nia Exp $
+@comment $NetBSD: PLIST,v 1.3 2019/06/23 11:20:23 maya Exp $
bin/etl
bin/etlded
man/man6/etl.6
@@ -118,7 +118,6 @@
share/etlegacy/legacy/luascripts/wolfadmin/util/timers.lua
share/etlegacy/legacy/luascripts/wolfadmin/util/util.lua
share/etlegacy/legacy/pak3_${PKGVERSION}-dirty.pk3
-share/etlegacy/legacy/qagame.mp.nbsd.x86_64.so
share/etlegacy/legacy/rules.toml
share/etlegacy/legacy/sprees.toml
share/etlegacy/legacy/wolfadmin.toml
diff -r 72f1db227067 -r 123a2e741930 games/etlegacy/PLIST.Darwin
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/PLIST.Darwin Sun Jun 23 11:20:23 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Darwin,v 1.1 2019/06/23 11:20:23 maya Exp $
+share/etlegacy/legacy/qagame_mac.x86_64.so
diff -r 72f1db227067 -r 123a2e741930 games/etlegacy/PLIST.FreeBSD
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/PLIST.FreeBSD Sun Jun 23 11:20:23 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.FreeBSD,v 1.1 2019/06/23 11:20:23 maya Exp $
+share/etlegacy/legacy/qagame.mp.fbsd.x86_64.so
diff -r 72f1db227067 -r 123a2e741930 games/etlegacy/PLIST.Linux
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/PLIST.Linux Sun Jun 23 11:20:23 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.Linux,v 1.1 2019/06/23 11:20:23 maya Exp $
+share/etlegacy/legacy/qagame.mp.x86_64.so
diff -r 72f1db227067 -r 123a2e741930 games/etlegacy/PLIST.NetBSD
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/PLIST.NetBSD Sun Jun 23 11:20:23 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.NetBSD,v 1.1 2019/06/23 11:20:23 maya Exp $
+share/etlegacy/legacy/qagame.mp.nbsd.x86_64.so
diff -r 72f1db227067 -r 123a2e741930 games/etlegacy/PLIST.OpenBSD
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/PLIST.OpenBSD Sun Jun 23 11:20:23 2019 +0000
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST.OpenBSD,v 1.1 2019/06/23 11:20:23 maya Exp $
+share/etlegacy/legacy/qagame.mp.obsd.x86_64.so
diff -r 72f1db227067 -r 123a2e741930 games/etlegacy/distinfo
--- a/games/etlegacy/distinfo Sun Jun 23 10:59:40 2019 +0000
+++ b/games/etlegacy/distinfo Sun Jun 23 11:20:23 2019 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.1 2019/04/11 20:56:34 nia Exp $
+$NetBSD: distinfo,v 1.2 2019/06/23 11:20:23 maya Exp $
SHA1 (etlegacy-2.76/etlegacy-libs.tar.gz) = 27da78b9c118be2bb931543ee217f95246e26658
RMD160 (etlegacy-2.76/etlegacy-libs.tar.gz) = 3052bd1c8f3164016d5402452e76f4ed66e3571f
@@ -9,5 +9,6 @@
SHA512 (etlegacy-2.76/etlegacy.tar.gz) = 911c91dac71741067b9ac4e4651fae64c7def77c4061d31aafa2d473b14fb0db20c2c2fd03edf16efaabab4a026c89c647883864e031e17c551584f0ee06a5e2
Size (etlegacy-2.76/etlegacy.tar.gz) = 10381173 bytes
SHA1 (patch-cmake_ETLInstall.cmake) = f89a99b5c280227f520fbd6f2eec06139cec503f
+SHA1 (patch-cmake_ETLPlatform.cmake) = d73dd745cf2d70f0f0fe6385364d54ac2cdbe0e8
SHA1 (patch-src_client_snd__main.c) = 82d4fef339044d6677eadad526b8f2b57099514f
SHA1 (patch-src_qcommon_q__platform.h) = b377ad5033c4f47a2c6659837e2a0b72082dd570
diff -r 72f1db227067 -r 123a2e741930 games/etlegacy/patches/patch-cmake_ETLPlatform.cmake
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/etlegacy/patches/patch-cmake_ETLPlatform.cmake Sun Jun 23 11:20:23 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-cmake_ETLPlatform.cmake,v 1.1 2019/06/23 11:20:24 maya Exp $
+
+Have cmake figure out if -ldl should be used.
+(netbsd doesn't have libdl)
+
+--- cmake/ETLPlatform.cmake.orig 2019-01-05 19:54:35.000000000 +0000
++++ cmake/ETLPlatform.cmake
+@@ -86,7 +86,7 @@ if(UNIX)
+ set(LIB_SUFFIX "_mac")
+ set(CMAKE_SHARED_MODULE_SUFFIX "")
+ else()
+- set(OS_LIBRARIES dl m rt pthread)
++ set(OS_LIBRARIES ${CMAKE_DL_LIBS} m rt pthread)
+ set(LIB_SUFFIX ".mp.")
+ endif()
+
Home |
Main Index |
Thread Index |
Old Index