summaryrefslogtreecommitdiff
path: root/games/xfreecell/patches
diff options
context:
space:
mode:
authorhubertf <hubertf@pkgsrc.org>2001-12-22 21:17:25 +0000
committerhubertf <hubertf@pkgsrc.org>2001-12-22 21:17:25 +0000
commitb500d96394bf37800afd960ccfcaaf5927aff6ef (patch)
tree9c190a484cb9ecbceeece938149713278da2877d /games/xfreecell/patches
parent26b2392654ea4d66fa3d1ac35713043bc73b7ae8 (diff)
downloadpkgsrc-b500d96394bf37800afd960ccfcaaf5927aff6ef.tar.gz
Add xfreecell-1.0.5b
Submitted by Chris Ewert <chris@infolaunch.com> in PR 15036 This is a version of the popular one-player freecell card game for X.
Diffstat (limited to 'games/xfreecell/patches')
-rw-r--r--games/xfreecell/patches/patch-aa37
-rw-r--r--games/xfreecell/patches/patch-ab21
2 files changed, 58 insertions, 0 deletions
diff --git a/games/xfreecell/patches/patch-aa b/games/xfreecell/patches/patch-aa
new file mode 100644
index 00000000000..4a89188f7f4
--- /dev/null
+++ b/games/xfreecell/patches/patch-aa
@@ -0,0 +1,37 @@
+$NetBSD: patch-aa,v 1.1.1.1 2001/12/22 21:17:25 hubertf Exp $
+
+--- makefile.orig Sat Apr 3 15:42:49 1999
++++ makefile
+@@ -1,10 +1,10 @@
+ OBJECTS=card.o freecell.o option.o stack.o subwindows.o undo.o util.o gnmanager.o random.o
+ CC=g++
+-CFLAGS=-g -Wall -DSHAPE -DBOGUSRANDOM
+-LIBS=-lm -L. -lns -L/usr/X11R6/lib -lXext -lX11
++CFLAGS=-Wall -DSHAPE -DBOGUSRANDOM -I${X11BASE}/include
++LIBS=-lm -L. -lns -Wl,-R${X11BASE}/lib -L${X11BASE}/lib -lXext -lX11
+ STATICDIR=xfreecell-static
+ DOCS=README CHANGES mshuffle.txt xfreecell.6
+-LIBDIR=/usr/local/lib/xfreecell
++LIBDIR=${PREFIX}/lib/xfreecell
+
+ all: $(OBJECTS) lib
+ $(CC) -o xfreecell $(CFLAGS) $(OBJECTS) $(LIBS)
+@@ -25,13 +25,13 @@
+
+ clean:
+ rm -f *~ *.o a.out xfreecell libns.a
+- make -C widget clean
++ gmake -C widget clean
+
+ lib:
+- make -C widget lib
++ gmake -C widget lib
+
+ install: all
+- install xfreecell $(DESTDIR)/usr/local/bin
+- install xfreecell.6 $(DESTDIR)/usr/local/man/man6
++ install xfreecell $(DESTDIR)${PREFIX}/bin
++ install xfreecell.6 $(DESTDIR)${PREFIX}/man/man6
+ # install -d $(LIBDIR)
+-# install ms-compatible/MSNumbers $(DESTDIR)/usr/local/lib/xfreecell
++# install ms-compatible/MSNumbers $(DESTDIR)${PREFIX}/lib/xfreecell
diff --git a/games/xfreecell/patches/patch-ab b/games/xfreecell/patches/patch-ab
new file mode 100644
index 00000000000..0f583841292
--- /dev/null
+++ b/games/xfreecell/patches/patch-ab
@@ -0,0 +1,21 @@
+$NetBSD: patch-ab,v 1.1.1.1 2001/12/22 21:17:25 hubertf Exp $
+
+*** widget/makefile.orig Sun Aug 5 11:10:13 2001
+--- widget/makefile Sun Aug 5 10:49:28 2001
+***************
+*** 1,7 ****
+ OBJECTS=window.o plate.o string.o button.o label.o textfield.o container.o frame.o util.o scrollbar.o font.o main.o
+ #C=/usr/local/gcc-2.8.1/bin/g++
+ CC=g++
+! CFLAGS=-g -Wall
+ LIBS=-L/usr/X11R6/lib -lX11
+ LIBNAME=libns.a
+
+--- 1,7 ----
+ OBJECTS=window.o plate.o string.o button.o label.o textfield.o container.o frame.o util.o scrollbar.o font.o main.o
+ #C=/usr/local/gcc-2.8.1/bin/g++
+ CC=g++
+! CFLAGS=-g -Wall -I/usr/X11R6/include
+ LIBS=-L/usr/X11R6/lib -lX11
+ LIBNAME=libns.a
+