1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-18 00:10:04 +00:00
freebsd-ports/games/gleyes/files/patch-aa
2000-02-07 00:38:55 +00:00

33 lines
1.1 KiB
Plaintext

--- Makefile.orig Tue Oct 13 09:16:35 1998
+++ Makefile Sun Feb 6 16:36:08 2000
@@ -5,8 +5,8 @@
#--------------------------------------------------------------------------
# Where you want to have it installed
-BINDIR = /usr/X11/bin
-MANDIR = /usr/X11/man/man1
+BINDIR = /usr/X11R6/bin
+MANDIR = /usr/X11R6/man/man1
# Use these for Mesa
#GL = -lglut -lMesaGLU -lMesaGL
@@ -15,11 +15,14 @@
GL = -lglut -lGLU -lGL
# Use these for gcc on Linux (may work in other systems as well)
-CC = gcc
-CFLAGS = -O3 -fomit-frame-pointer -ffast-math -Wall -Wno-implicit-int
-LD = gcc
+CC ?= gcc
+CFLAGS ?= -pipe -O2 -fexpensive-optimizations -ffast-math -fomit-frame-pointer \
+ -fforce-mem -fforce-addr
+CFLAGS += -Wall -Wno-implicit-int -I/usr/X11R6/include \
+ -I/usr/local/include
+LD = $(CC)
LDFLAGS = -o $@
-LIBS = -L/usr/X11/lib -L/usr/local/lib $(GL) -lX11 -lXext -lXmu -lXi -lm
+LIBS = -Wl,-rpath,/usr/X11R6/lib -L/usr/X11R6/lib -L/usr/local/lib $(GL) -lX11 -lXext -lXmu -lXi -lm
# Use these for cc on IRIX (submitted by Andrew Dalke <dalke@bioreason.com>)
#CC = cc