pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/games/lbreakout Use pthread.buildlink3.mk consistently.
details: https://anonhg.NetBSD.org/pkgsrc/rev/07c39a7f191b
branches: trunk
changeset: 510148:07c39a7f191b
user: joerg <joerg%pkgsrc.org@localhost>
date: Tue Mar 28 22:03:42 2006 +0000
description:
Use pthread.buildlink3.mk consistently.
diffstat:
games/lbreakout/Makefile | 10 ++--------
games/lbreakout/distinfo | 6 +++---
games/lbreakout/patches/patch-aa | 4 ++--
games/lbreakout/patches/patch-ab | 17 +++++++++++++----
4 files changed, 20 insertions(+), 17 deletions(-)
diffs (84 lines):
diff -r cc60e047bd68 -r 07c39a7f191b games/lbreakout/Makefile
--- a/games/lbreakout/Makefile Tue Mar 28 22:02:37 2006 +0000
+++ b/games/lbreakout/Makefile Tue Mar 28 22:03:42 2006 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2006/02/05 23:09:19 joerg Exp $
+# $NetBSD: Makefile,v 1.26 2006/03/28 22:03:42 joerg Exp $
DISTNAME= lbreakout-010315
PKGREVISION= 7
@@ -10,15 +10,9 @@
COMMENT= Breakout-style arcade game
GNU_CONFIGURE= YES
-CONFIGURE_ENV+= PTHREAD_LIBS=${PTHREAD_LIBS:Q}
CONFIGURE_ARGS+= --disable-sound
.include "../../devel/SDL/buildlink3.mk"
-
-PTHREAD_LIBS= -lpthread
-
-.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "pth")
-PTHREAD_LIBS+= -lpth
-.endif
+.include "../../mk/pthread.buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff -r cc60e047bd68 -r 07c39a7f191b games/lbreakout/distinfo
--- a/games/lbreakout/distinfo Tue Mar 28 22:02:37 2006 +0000
+++ b/games/lbreakout/distinfo Tue Mar 28 22:03:42 2006 +0000
@@ -1,8 +1,8 @@
-$NetBSD: distinfo,v 1.6 2005/02/23 23:12:00 agc Exp $
+$NetBSD: distinfo,v 1.7 2006/03/28 22:03:42 joerg Exp $
SHA1 (lbreakout-010315.tar.gz) = 9385f4690aee645955acb23d8481957aaaf0e2fb
RMD160 (lbreakout-010315.tar.gz) = ecb5784ec9475766035fabd84609c8a71581219d
Size (lbreakout-010315.tar.gz) = 655418 bytes
-SHA1 (patch-aa) = 06b9b215f277f61a52272afa1d82e6df157bd104
-SHA1 (patch-ab) = 27dd2449c2f9a9e3e08410531ecaf2365b194a71
+SHA1 (patch-aa) = 9b359426c12be3b8314d78de7ac091f9a4f7c1ac
+SHA1 (patch-ab) = dd10c1b22d71ab3d491458fc24f58971ce1f3f74
SHA1 (patch-ac) = 0dd6692789e41eb0f32d34dc2f4efd9efc1fec8a
diff -r cc60e047bd68 -r 07c39a7f191b games/lbreakout/patches/patch-aa
--- a/games/lbreakout/patches/patch-aa Tue Mar 28 22:02:37 2006 +0000
+++ b/games/lbreakout/patches/patch-aa Tue Mar 28 22:03:42 2006 +0000
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2005/02/20 01:09:28 wiz Exp $
+$NetBSD: patch-aa,v 1.5 2006/03/28 22:03:42 joerg Exp $
--- configure.orig Thu Mar 15 10:05:08 2001
+++ configure Tue Aug 14 20:05:05 2001
@@ -7,7 +7,7 @@
else
SDL_CFLAGS=`$SDL_CONFIG $sdlconf_args --cflags`
- SDL_LIBS=`$SDL_CONFIG $sdlconf_args --libs`
-+ SDL_LIBS="`$SDL_CONFIG $sdlconf_args --libs` ${PTHREAD_LIBS}"
++ SDL_LIBS="`$SDL_CONFIG $sdlconf_args --libs` ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS}"
sdl_major_version=`$SDL_CONFIG $sdl_args --version | \
sed 's/\([0-9]*\).\([0-9]*\).\([0-9]*\)/\1/'`
diff -r cc60e047bd68 -r 07c39a7f191b games/lbreakout/patches/patch-ab
--- a/games/lbreakout/patches/patch-ab Tue Mar 28 22:02:37 2006 +0000
+++ b/games/lbreakout/patches/patch-ab Tue Mar 28 22:03:42 2006 +0000
@@ -1,8 +1,17 @@
-$NetBSD: patch-ab,v 1.2 2001/08/15 19:41:45 rh Exp $
+$NetBSD: patch-ab,v 1.3 2006/03/28 22:03:42 joerg Exp $
---- lbreakout/Makefile.in.orig Tue Aug 14 20:05:31 2001
-+++ lbreakout/Makefile.in Tue Aug 14 20:06:06 2001
-@@ -353,7 +353,8 @@
+--- lbreakout/Makefile.in.orig 2001-03-15 15:28:10.000000000 +0000
++++ lbreakout/Makefile.in
+@@ -80,7 +80,7 @@ DEFS = @sound_flag@ @inst_flag@ @hi_inst
+
+ bin_PROGRAMS = lbreakout
+ lbreakout_SOURCES = hiscore.cpp dynlist.c level.cpp breakout.cpp sndsrv.c sdl.c menumanager.cpp menuitem.cpp menu.cpp game.cpp main.cpp
+-lbreakout_LDADD = -lpthread -lm @thread_flag@
++lbreakout_LDADD = ${PTHREAD_LDFLAGS} ${PTHREAD_LIBS} -lm @thread_flag@
+
+ EXTRA_SUBDIRS = manual
+
+@@ -353,7 +353,8 @@ install-data-local:
$(INSTALL_DATA) wontgiveup.wav $(DESTDIR)$(sdir)/wontgiveup.wav
$(INSTALL_DATA) speedup.wav $(DESTDIR)$(sdir)/speedup.wav
$(INSTALL_DATA) speeddown.wav $(DESTDIR)$(sdir)/speeddown.wav
Home |
Main Index |
Thread Index |
Old Index