1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-31 21:57:12 +00:00
freebsd-ports/games/blackjack/files/patch-aa

42 lines
866 B
Plaintext
Raw Normal View History

1998-09-28 02:04:40 +00:00
--- 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
1998-09-28 02:04:40 +00:00
+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
1998-09-28 02:04:40 +00:00
@@ -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
1998-09-28 02:04:40 +00:00
+MOC=$(X11BASE)/bin/moc
.SUFFIXES: .cpp
.cpp.o:
$(CXX) -c $(CFLAGS) $(INCLUDES) $<
+
+all: blackjack
blackjack: main.o $(OBJS)
$(CXX) -o $@ $(LDFLAGS) main.o $(OBJS)