openbsd-ports/games/quake/patches/patch-qw_server_Makefile_in
espie 39429549e3 Quake. Needs you to have datafiles to be useful.
Original by Maurices Nonnekes, a few tweaks (sound, i386 optimizations,
longer save menus) by me.

The client/server part probably still needs some work... 
and it is definitely unaudited.

Packaging might be changed to account for docs...

In fact, I really need `common' package files and reference counting...
2001-08-03 13:02:16 +00:00

40 lines
1.3 KiB
Plaintext

$OpenBSD: patch-qw_server_Makefile_in,v 1.1.1.1 2001/08/03 13:02:16 espie Exp $
--- qw_server/Makefile.in.orig Tue Jan 11 15:37:02 2000
+++ qw_server/Makefile.in Mon Jul 23 04:56:36 2001
@@ -16,7 +16,7 @@ COMMON_DIR=$(PROJECT_DIR)/common
QW_COMMON_DIR= $(PROJECT_DIR)/qw_common
BUILD_DIR = ../targets/qw_server
-LDFLAGS = @LDFLAGS@ -lm -L/usr/local/v6/lib -linet6
+LDFLAGS = @LDFLAGS@ -lm
LIBS = @LIBS@
CC = @CC@
INTEL_ARCH = @INTEL_ARCH@
@@ -109,7 +109,7 @@ $(BUILD_DIR)/srv/%.o: $(SRC_DIR)/%.c
$(BUILD_DIR)/srv/%.o: $(SRC_DIR)/%.s
$(MAKE_SURE_srv_DIR)
- $(CC) $(CFLAGS) -DELF -x assembler-with-cpp -o $@ -c $<
+ $(CC) $(CFLAGS) -x assembler-with-cpp -o $@ -c $<
$(BUILD_DIR)/srv/%.o: $(COMMON_DIR)/%.c
$(MAKE_SURE_srv_DIR)
@@ -121,7 +121,7 @@ $(BUILD_DIR)/srv/%.o: $(QW_COMMON_DIR)/%
$(BUILD_DIR)/srv/%.o: $(COMMON_DIR)/%.s
$(MAKE_SURE_srv_DIR)
- $(CC) $(CFLAGS) -DELF -x assembler-with-cpp -o $@ -c $<
+ $(CC) $(CFLAGS) -x assembler-with-cpp -o $@ -c $<
$(SRVQUAKE): $(BUILD_DIR)/../$(SRVQUAKE)
@@ -148,7 +148,7 @@ clean: $(CLEAN_TARGETS)
install: $(targets)
$(PROJECT_DIR)/mkinstalldirs $(DESTDIR)$(prefix)$(bindir)
for i in $(targets); do \
- $(PROJECT_DIR)/install-sh -m 755 $(BUILD_DIR)/../$$i \
+ $(PROJECT_DIR)/install-sh -s -m 755 $(BUILD_DIR)/../$$i \
$(DESTDIR)$(prefix)$(bindir)/$$i; \
done