blob: 02cd63d7d46131ff8fa758269ac21393ad289110 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
$NetBSD: patch-ab,v 1.3 2006/03/28 22:03:42 joerg Exp $
--- 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
- $(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(hdir)/lbreakout.hscr
+ $(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(sdir)/lbreakout.hscr
+ [ -f $(DESTDIR)$(hdir)/lbreakout.hscr ] || $(INSTALL_DATA) -m 666 lbreakout.hscr $(DESTDIR)$(hdir)/lbreakout.hscr
uninstall-local:
rm -fr $(DESTDIR)$(sdir)
|