summaryrefslogtreecommitdiff
path: root/games/kulki/patches
diff options
context:
space:
mode:
authorzuntum <zuntum>2001-06-24 01:30:39 +0000
committerzuntum <zuntum>2001-06-24 01:30:39 +0000
commitcc3b88c1d5bd192db147ecb484ec3ababc49199b (patch)
treebe300b0ddd712402bc536ce5daa949527ca6557e /games/kulki/patches
parenta2b08f6a7cf138a80ca546261cb9a31c9bce928b (diff)
downloadpkgsrc-cc3b88c1d5bd192db147ecb484ec3ababc49199b.tar.gz
o set USE_X11 so X11BASE gets added to LDFLAGS -- simplifies patch-aa
Diffstat (limited to 'games/kulki/patches')
-rw-r--r--games/kulki/patches/patch-aa8
1 files changed, 4 insertions, 4 deletions
diff --git a/games/kulki/patches/patch-aa b/games/kulki/patches/patch-aa
index 009068c8b5e..76695153a8a 100644
--- a/games/kulki/patches/patch-aa
+++ b/games/kulki/patches/patch-aa
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.2 2001/03/12 22:33:48 zuntum Exp $
+$NetBSD: patch-aa,v 1.3 2001/06/24 01:30:39 zuntum Exp $
--- Makefile.orig Thu Feb 8 19:27:43 2001
+++ Makefile
@@ -8,7 +8,7 @@ $NetBSD: patch-aa,v 1.2 2001/03/12 22:33:48 zuntum Exp $
- -I$(QTDIR)/include -L$(QTDIR)/lib\
- -lqt -lX11 -lXext
-INSTALL = /usr/games/
-+LIBS = -L$(X11BASE)/lib -Wl,-R$(X11BASE)/lib -L$(X11BASE)/qt2/lib -Wl,-R$(X11BASE)/qt2/lib \
++LIBS = -L$(X11BASE)/qt2/lib -Wl,-R$(X11BASE)/qt2/lib \
+ -I$(X11BASE)/qt2/include -L$(LOCALBASE)/lib -Wl,-R$(LOCALBASE)/lib -I$(LOCALBASE)/include \
+ -lqt -lX11 -lXext
# obrazki w $(INSTALL)/images
@@ -32,7 +32,7 @@ $NetBSD: patch-aa,v 1.2 2001/03/12 22:33:48 zuntum Exp $
%.o: %.cc
- g++ $(CFLAGS) $(DEBUG) $(GINCLUDE) -c $<
-+ $(CXX) $(CXXFLAGS) -DINSTALL=\"$(PREFIX)/share/kulki\" -L$(X11BASE)/lib -L$(X11BASE)/qt2/lib -I$(X11BASE)/include \
++ $(CXX) $(CXXFLAGS) -DINSTALL=\"$(PREFIX)/share/kulki\" -L$(X11BASE)/lib -L$(X11BASE)/qt2/lib \
+ -I$(X11BASE)/qt2/include -c $<
@@ -42,7 +42,7 @@ $NetBSD: patch-aa,v 1.2 2001/03/12 22:33:48 zuntum Exp $
kulki: gui
- g++ $(MOB) $(LOB) $(GLIBS) $(GOB) -o kulki && strip kulki
-+ $(CXX) $(MOB) $(LOB) $(LIBS) $(GOB) -o kulki
++ $(CXX) $(MOB) $(LOB) $(LIBS) $(LDFLAGS) $(GOB) -o kulki
gui: $(MOB) $(GOB)