1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-29 21:39:24 +00:00
freebsd-ports/x11/qrash/files/patch-ae
Maxim Sobolev 9b34d9e6ac Make it PREFIX-clean.
PR:		19307
Submitted by:	Trevor Johnson <trevor@jpj.net>
2000-06-21 12:19:25 +00:00

38 lines
943 B
Plaintext

--- Makefile.in.orig Wed Sep 24 19:49:16 1997
+++ Makefile.in Wed Jun 21 15:00:43 2000
@@ -1,10 +1,10 @@
# Maximum optimization
-CXXFLAGS += -O6 -ffast-math -funroll-loops -w
+CXXFLAGS += -I$(X11BASE)/include -ffast-math -funroll-loops
# Debugging options
#CXXFLAGS += -g
-LIBS += -Lmikmod -lmikmd -Lzlib -lz -lm
+LIBS += -Lmikmod -lmikmd -lz -lm
PORTABLE_OBJS = sys.o video.o music.o misc.o resource.o image.o \
poly2d.o 3d.o font.o lines.o smooth.o
@@ -27,7 +27,7 @@
OBJS = $(PORTABLE_OBJS) $(SYSTEM_OBJS) $(CPU_OBJS) $(DEMO_OBJS)
-TARGETS = mikmod zlib Makefile $(OBJS)
+TARGETS = mikmod Makefile $(OBJS)
qrash : $(TARGETS)
$(CC) -o qrash $(OBJS) $(LIBS)
@@ -49,6 +49,12 @@
parts.o:
$(CC) -c parts.cc
+
+install:
+ mkdir -p $(PREFIX)/share/qrash/
+ $(BSD_INSTALL_PROGRAM) qrash $(PREFIX)/bin/
+ $(BSD_INSTALL_DATA) qrash.dat $(PREFIX)/share/qrash/
+ $(BSD_INSTALL_MAN) README $(PREFIX)/share/qrash/
DUMMY: