From 89cb124834e295d611bbb7fdcc66e2b10e91533b Mon Sep 17 00:00:00 2001 From: lioux Date: Sun, 29 Jul 2001 23:33:22 +0000 Subject: New port glchess version 0.3.3, A 3D OpenGL based chess game PR: 29061 Submitted by: Patrick Li --- games/glchess/files/patch-Makefile | 18 ++++++++++++++++++ games/glchess/files/patch-src::Makefile | 13 +++++++++++++ 2 files changed, 31 insertions(+) create mode 100644 games/glchess/files/patch-Makefile create mode 100644 games/glchess/files/patch-src::Makefile (limited to 'games/glchess/files') diff --git a/games/glchess/files/patch-Makefile b/games/glchess/files/patch-Makefile new file mode 100644 index 0000000..5341356 --- /dev/null +++ b/games/glchess/files/patch-Makefile @@ -0,0 +1,18 @@ +--- Makefile.orig Wed Jul 18 09:19:16 2001 ++++ Makefile Wed Jul 18 09:06:04 2001 +@@ -1,12 +1,11 @@ +-INSTALLDIR = /usr/local/bin +-MANDIR = /usr/local/man/man6 +-SHAREDIR = /usr/local/share/games/glchess ++INSTALLDIR = ${PREFIX}/bin ++MANDIR = ${PREFIX}/man/man6 ++SHAREDIR = ${DATADIR} + + VERSION = 0.3.3 + DATE = `date "+%Y-%m-%d"` + + all: +- @clear + @echo "Building glChess..." + @cd src && make + @mv src/glchess . diff --git a/games/glchess/files/patch-src::Makefile b/games/glchess/files/patch-src::Makefile new file mode 100644 index 0000000..6aa63d4 --- /dev/null +++ b/games/glchess/files/patch-src::Makefile @@ -0,0 +1,13 @@ +--- src/Makefile.orig Tue Jul 17 16:05:53 2001 ++++ src/Makefile Sun Jul 29 20:17:58 2001 +@@ -1,7 +1,6 @@ +-CC = gcc +-CFLAGS = -g -Wall `gtk-config --cflags` +- +-LIBS = `gtk-config --libs` -lgtkgl -lGL -lGLU -lm -L/usr/X11R6/lib -lXi -lXmu ++CFLAGS += -g -Wall `${GTK_CONFIG} --cflags` $(INCLDIR) ${PTHREAD_CFLAGS} ++INCLDIR = -I${X11BASE}/include -I${LOCALBASE}/include ++LIBS = `${GTK_CONFIG} --libs` -L${X11BASE}/lib -lgtkgl -lGL -lGLU -lm -lXi -lXmu ${PTHREAD_LIBS} + + OBJS = main.o \ + animation.o \ -- cgit v1.1