summaryrefslogtreecommitdiff
path: root/games/blackjack/files
diff options
context:
space:
mode:
authorSteve Price <steve@FreeBSD.org>1998-09-28 02:04:40 +0000
committerSteve Price <steve@FreeBSD.org>1998-09-28 02:04:40 +0000
commit1511a5bd89a618481933a7edbc470f1599d329d1 (patch)
treeba256ad2028dd830485a76e99393d5b64d7d4c7b /games/blackjack/files
parentEscape the '@' character so perl in -current doesn't choke. (diff)
Fix build for ELF.
Notes
Notes: svn path=/head/; revision=13484
Diffstat (limited to 'games/blackjack/files')
-rw-r--r--games/blackjack/files/patch-aa26
1 files changed, 19 insertions, 7 deletions
diff --git a/games/blackjack/files/patch-aa b/games/blackjack/files/patch-aa
index 009195505d05..17f9d6df8caa 100644
--- a/games/blackjack/files/patch-aa
+++ b/games/blackjack/files/patch-aa
@@ -1,22 +1,34 @@
---- Makefile.orig Fri Jan 24 09:16:39 1997
-+++ Makefile Mon Feb 23 12:35:50 1998
-@@ -2,8 +2,8 @@
+--- Makefile.orig Wed Feb 11 21:42:00 1998
++++ Makefile Sun Sep 27 18:38:34 1998
+@@ -2,8 +2,11 @@
CC=gcc
CXX=g++
CFLAGS=
-INCLUDES=-I$(QTDIR)/include
-LDFLAGS=-L$(QTDIR)/lib -lqt
-+INCLUDES=-I/usr/X11R6/include/X11/qt
-+LDFLAGS=-L/usr/X11R6/lib -lqt
++INCLUDES=-I$(X11BASE)/include/X11/qt
++LDFLAGS=-L$(X11BASE)/lib -lqt
++.if $(PORTOBJFORMAT) == "elf"
++LDFLAGS+=-Wl,-rpath,$(X11BASE)/lib
++.endif
VERSION=1.1
# For systems that don't have install, use this
-@@ -24,12 +24,14 @@
+@@ -25,7 +28,7 @@
+ blackjack/*.cpp \
+ blackjack/*.bm
+
+-INSTALL=install
++INSTALL=install -c
+ INSTALL_BIN_FLAGS=-s
+
+ INSTALL_ROOT=/usr/local
+@@ -39,12 +42,14 @@
user_input.o dollar_scroll_bar.o bet_option.o table_option.o \
insurance_window.o $(METAOBJS)
-MOC=$(QTDIR)/bin/moc
-+MOC=/usr/X11R6/bin/moc
++MOC=$(X11BASE)/bin/moc
.SUFFIXES: .cpp