From 1511a5bd89a618481933a7edbc470f1599d329d1 Mon Sep 17 00:00:00 2001 From: Steve Price Date: Mon, 28 Sep 1998 02:04:40 +0000 Subject: Fix build for ELF. --- games/blackjack/files/patch-aa | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) (limited to 'games/blackjack/files/patch-aa') 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 -- cgit v1.2.3