pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/games/ketm Fix pthread usage.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a159c7237cfa
branches:  trunk
changeset: 510499:a159c7237cfa
user:      joerg <joerg%pkgsrc.org@localhost>
date:      Thu Mar 30 21:18:23 2006 +0000

description:
Fix pthread usage.

diffstat:

 games/ketm/Makefile         |  3 ++-
 games/ketm/distinfo         |  4 ++--
 games/ketm/patches/patch-aa |  4 ++--
 3 files changed, 6 insertions(+), 5 deletions(-)

diffs (47 lines):

diff -r 71f668e91fbd -r a159c7237cfa games/ketm/Makefile
--- a/games/ketm/Makefile       Thu Mar 30 21:18:06 2006 +0000
+++ b/games/ketm/Makefile       Thu Mar 30 21:18:23 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2006/03/04 21:29:42 jlam Exp $
+# $NetBSD: Makefile,v 1.23 2006/03/30 21:18:23 joerg Exp $
 #
 
 DISTNAME=      ketm-0.0.6
@@ -38,4 +38,5 @@
                ${INSTALL_DATA} *.bmp *.dat ${PREFIX}/share/ketm/data
 
 .include "../../devel/SDL/buildlink3.mk"
+.include "../../mk/pthread.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 71f668e91fbd -r a159c7237cfa games/ketm/distinfo
--- a/games/ketm/distinfo       Thu Mar 30 21:18:06 2006 +0000
+++ b/games/ketm/distinfo       Thu Mar 30 21:18:23 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 23:11:59 agc Exp $
+$NetBSD: distinfo,v 1.7 2006/03/30 21:18:23 joerg Exp $
 
 SHA1 (ketm-0.0.6.tar.bz2) = 3275b6be9178e30478609db9b8f897ae212df049
 RMD160 (ketm-0.0.6.tar.bz2) = 28e0fad25d15e466e5f94aa456a692429ed9b31b
 Size (ketm-0.0.6.tar.bz2) = 1836502 bytes
-SHA1 (patch-aa) = 559b492c3a5d336061c741d7920a5f0a893d37b9
+SHA1 (patch-aa) = 619ca79fc73983f60a0449226bcf1ca546776b2f
 SHA1 (patch-ab) = 33edc5d12a930308f51994130859e6b3f30afb75
 SHA1 (patch-ac) = d7dd4aedf4d8d20930a15c0a99f0b423b009401a
diff -r 71f668e91fbd -r a159c7237cfa games/ketm/patches/patch-aa
--- a/games/ketm/patches/patch-aa       Thu Mar 30 21:18:06 2006 +0000
+++ b/games/ketm/patches/patch-aa       Thu Mar 30 21:18:23 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.3 2002/10/15 23:23:05 kristerw Exp $
+$NetBSD: patch-aa,v 1.4 2006/03/30 21:18:23 joerg Exp $
 --- Makefile.orig      Wed Oct 16 00:40:10 2002
 +++ Makefile   Wed Oct 16 00:44:19 2002
 @@ -1,6 +1,6 @@
@@ -6,7 +6,7 @@
 -CFLAGS=-Wall -g -I/usr/local/include -I/usr/local/include/SDL -D_REENTRANT
 -LDFLAGS=-L/usr/local/lib -Wl,-rpath,/usr/local/lib -lSDL -lpthread
 +CFLAGS+=-Wall -O2 -D_REENTRANT
-+LDFLAGS+=-lSDL -lpthread
++LDFLAGS+=-lSDL ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}
  OBJ=  main.o \
        particle.o \
        font.o \



Home | Main Index | Thread Index | Old Index