summaryrefslogtreecommitdiff
path: root/games/xshogi
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-09-28 02:32:25 +0000
committerSteve Price <steve@FreeBSD.org>1998-09-28 02:32:25 +0000
commitd4c9c588e2f149abc804a1b54ae7a7a63e32f2b4 (patch)
treed8287807f1ba3bffc037bce340fc740295000fef /games/xshogi
parentFix build for ELF. (diff)
Fix for ELF build.
Notes
Notes: svn path=/head/; revision=13504
Diffstat (limited to 'games/xshogi')
-rw-r--r--games/xshogi/files/patch-aa11
1 files changed, 7 insertions, 4 deletions
diff --git a/games/xshogi/files/patch-aa b/games/xshogi/files/patch-aa
index 2d4445f3eac6..73f6f2e7f344 100644
--- a/games/xshogi/files/patch-aa
+++ b/games/xshogi/files/patch-aa
@@ -1,5 +1,5 @@
---- Makefile.custom.orig Wed May 24 07:12:05 1995
-+++ Makefile.custom Fri Jan 3 00:46:15 1997
+--- Makefile.custom.orig Wed May 24 09:12:05 1995
++++ Makefile.custom Sun Sep 27 12:04:31 1998
@@ -28,18 +28,18 @@
VERS = 1.2p03
@@ -22,7 +22,7 @@
# Compress program
COMPRESS = gzip
-@@ -73,8 +73,9 @@
+@@ -73,8 +73,12 @@
#CCOPTIONS= -g
#LDOPTIONS= -lXaw -lXmu -lXt -lXext -lX11
# This is for cc on SunOS with debug
@@ -31,10 +31,13 @@
+CCOPTIONS= -g -O2 -m486 -pipe -fno-strength-reduce \
+ -I/usr/include -I$(PREFIX)/include
+LDOPTIONS= -L/usr/lib -L$(PREFIX)/lib -lXaw -lXmu -lXt -lXext -lX11
++.if ${PORTOBJFORMAT} == "elf"
++LDOPTIONS+=-Wl,-rpath,$(X11BASE)/lib
++.endif
# Options for xshogi
# Use -DSENDTIME with at least gnushogix 1.2 patchlevel 3
-@@ -88,8 +89,8 @@
+@@ -88,8 +92,8 @@
# The option -DISS compiles xshogi for supporting the Internet Shogi Server.
OPT = -DHAS_GETTIMEOFDAY -DSENDTIME -DISS -DTOP_PART_BITMAPS # -DBOTH_BITMAPS -DWESTERN_BITMAPS