pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/openttd Fix pthread linkage.
details: https://anonhg.NetBSD.org/pkgsrc/rev/d68a89e92c52
branches: trunk
changeset: 517754:d68a89e92c52
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Aug 22 15:27:03 2006 +0000
description:
Fix pthread linkage.
diffstat:
games/openttd/Makefile | 3 ++-
games/openttd/distinfo | 3 ++-
games/openttd/patches/patch-aa | 13 +++++++++++++
3 files changed, 17 insertions(+), 2 deletions(-)
diffs (43 lines):
diff -r e9a52afe5480 -r d68a89e92c52 games/openttd/Makefile
--- a/games/openttd/Makefile Tue Aug 22 15:22:30 2006 +0000
+++ b/games/openttd/Makefile Tue Aug 22 15:27:03 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2006/08/10 13:28:37 abs Exp $
+# $NetBSD: Makefile,v 1.16 2006/08/22 15:27:03 joerg Exp $
DISTNAME= openttd-0.4.8-RC2-source
PKGNAME= openttd-0.4.8rc2
@@ -43,4 +43,5 @@
.include "../../graphics/png/buildlink3.mk"
.include "../../devel/SDL/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r e9a52afe5480 -r d68a89e92c52 games/openttd/distinfo
--- a/games/openttd/distinfo Tue Aug 22 15:22:30 2006 +0000
+++ b/games/openttd/distinfo Tue Aug 22 15:27:03 2006 +0000
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.4 2006/08/10 13:28:37 abs Exp $
+$NetBSD: distinfo,v 1.5 2006/08/22 15:27:03 joerg Exp $
SHA1 (openttd-0.4.8-RC2-source.tar.bz2) = 26351512d98e81fb06d5964683aea8c24c9606f8
RMD160 (openttd-0.4.8-RC2-source.tar.bz2) = 59a66b05ce563a1c5d12b0f5ebe4bee818c8fe94
Size (openttd-0.4.8-RC2-source.tar.bz2) = 2211442 bytes
+SHA1 (patch-aa) = 253bed4df9d728c8945b98ba8400a6d57802404e
diff -r e9a52afe5480 -r d68a89e92c52 games/openttd/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/games/openttd/patches/patch-aa Tue Aug 22 15:27:03 2006 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2006/08/22 15:27:03 joerg Exp $
+
+--- Makefile.orig 2006-08-22 17:22:56.000000000 +0000
++++ Makefile
+@@ -217,7 +217,7 @@ endif
+ ifndef WIN32
+ ifndef MORPHOS
+ ifndef OSX
+- LDFLAGS+=-lpthread
++ LDFLAGS+=${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
+ endif
+ endif
+ endif
Home |
Main Index |
Thread Index |
Old Index