1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-04 22:33:27 +00:00
freebsd-ports/graphics/Mesa3/files/patch-aa

52 lines
1.3 KiB
Plaintext
Raw Normal View History

1998-10-01 02:17:49 +00:00
--- Make-config.orig Sun Aug 30 05:27:56 1998
+++ Make-config Wed Sep 30 14:50:03 1998
1998-09-26 23:33:15 +00:00
@@ -1,8 +1,12 @@
# Make-config
1998-07-25 13:08:38 +00:00
-MAJOR=3
+MAJOR=14
MINOR=0
1998-09-26 23:33:15 +00:00
+.if ${PORTOBJFORMAT} == "elf"
+VERSION=$(MAJOR)
+.else
VERSION=$(MAJOR).$(MINOR)
+.endif
1998-09-26 23:33:15 +00:00
# Mesa 3-D graphics library
# Copyright (C) 1995-1998 Brian Paul
1998-10-01 02:17:49 +00:00
@@ -281,6 +285,16 @@
1998-09-26 23:33:15 +00:00
"MAKELIB = ../mklib.freebsd" \
"XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11"
1998-09-26 23:33:15 +00:00
+freebsd-elf:
+ $(MAKE) $(MFLAGS) targets \
+ "GL_LIB = libMesaGL.a" \
+ "GLU_LIB = libMesaGLU.a" \
+ "GLUT_LIB = libglut.a" \
+ "CC = gcc" \
+ "CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DSHM -DHZ=100" \
+ "MAKELIB = ../mklib.freebsd" \
+ "XLIBS = -Wl,-rpath,${X11BASE}/lib -L${X11BASE}/lib -lXext -lXmu -lXi -lX11"
+
1998-09-26 23:33:15 +00:00
freebsd-386:
$(MAKE) $(MFLAGS) targets \
"GL_LIB = libMesaGL.a" \
1998-10-01 02:17:49 +00:00
@@ -291,6 +305,17 @@
"MAKELIB = ../mklib.freebsd" \
"XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11" \
1998-10-01 02:17:49 +00:00
"ASM_SOURCES = asm_386.S"
+
+freebsd-386-elf:
+ $(MAKE) $(MFLAGS) targets \
+ "GL_LIB = libMesaGL.a" \
+ "GLU_LIB = libMesaGLU.a" \
+ "GLUT_LIB = libglut.a" \
+ "CC = gcc" \
+ "CFLAGS = -O3 -ffast-math -fPIC -pedantic -I/usr/X11R6/include -DSHM -DHZ=100 -DUSE_X86_ASM" \
+ "MAKELIB = ../mklib.freebsd" \
+ "XLIBS = -Wl,-rpath,${X11BASE}/lib -L${X11BASE}/lib -lXext -lXmu -lXi -lX11" \
+ "ASM_SOURCES = asm_386.S"
gcc:
1998-10-01 02:17:49 +00:00
$(MAKE) $(MFLAGS) targets \