1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-01 22:05:08 +00:00
freebsd-ports/games/3dc/files/patch-aa
Matthew Hunt 14b487fa47 Import of 3dc, a three-dimensional chess game for X11.
PR:		6491
Submitted by:	Andrey Zakhvatov <andy@icc.surw.chel.su>
1998-05-03 23:27:37 +00:00

36 lines
1.1 KiB
Plaintext

--- src/Makefile.orig Thu Apr 11 10:23:53 1996
+++ src/Makefile Sun May 3 19:20:18 1998
@@ -13,7 +13,7 @@
# If your system doesn't have a unique define already, define one here.
# Linux
-CONFIGS=-DHAVE_UNISTD_H -DHAVE_ULIMIT_H
+CONFIGS=-DHAVE_UNISTD_H
# OSF/Digital Unix/HPUX
#CONFIGS=-fPIC -DHAVE_UNISTD_H -DHAVE_ULIMIT_H
# Sun
@@ -27,19 +27,19 @@
# can send me opinions at mailto:paulh@euristix.ie
PREFS=-DUNDO_ANY_MOVE
-CC=gcc
+#CC=gcc
#DEBUG=-g -Wall -DDEBUG
DEBUG=
-COPTIONS=-O2 -fstrength-reduce -fpcc-struct-return -DVERSION=\"${VERSION}\"
+COPTIONS=-DVERSION=\"${VERSION}\"
-CFLAGS=${COPTIONS} ${DEBUG} ${CONFIGS} ${PREFS} -I../include
+CFLAGS+=${COPTIONS} ${DEBUG} ${CONFIGS} ${PREFS} -I../include -I${X11BASE}/include
LDOPTIONS=
# LDLIBS should include the name of your X library path if not /usr/lib;
# and I definitely recommend getting Xaw3d. The extra appearance doesn't
# appear much but it looks much better when it does.
# Linux
-LDLIBS=-L/usr/X11R6/lib -lXpm -lXaw3d -lXmu -lXext -lXt -lX11
+LDLIBS=-L${X11BASE}/lib -lXpm -lXaw3d -lXmu -lXext -lXt -lX11
# Sun
#LDLIBS=-lXpm -lXaw -lXmu -lXext -lXt -lX11 -lm