diff options
author | steve <steve@FreeBSD.org> | 1998-09-27 07:33:15 +0800 |
---|---|---|
committer | steve <steve@FreeBSD.org> | 1998-09-27 07:33:15 +0800 |
commit | 83d52703791bc7ea3cf141fba7ebc67b2dcc489d (patch) | |
tree | 3febbf0d3ab752bd3c144965786904ed1e38c70d /graphics/Mesa3/files | |
parent | cfa33b36d0abf41f5041152e6419f2afed0f32ad (diff) | |
download | freebsd-ports-gnome-83d52703791bc7ea3cf141fba7ebc67b2dcc489d.tar.gz freebsd-ports-gnome-83d52703791bc7ea3cf141fba7ebc67b2dcc489d.tar.zst freebsd-ports-gnome-83d52703791bc7ea3cf141fba7ebc67b2dcc489d.zip |
Convert to ELF.
Diffstat (limited to 'graphics/Mesa3/files')
-rw-r--r-- | graphics/Mesa3/files/patch-aa | 31 |
1 files changed, 27 insertions, 4 deletions
diff --git a/graphics/Mesa3/files/patch-aa b/graphics/Mesa3/files/patch-aa index 63ee39d3d1b4..51e0e0b1d268 100644 --- a/graphics/Mesa3/files/patch-aa +++ b/graphics/Mesa3/files/patch-aa @@ -1,10 +1,33 @@ ---- Make-config.orig Fri Nov 21 20:05:40 1997 -+++ Make-config Fri Nov 21 20:06:25 1997 -@@ -1,6 +1,6 @@ +--- Make-config.orig Wed Jul 1 07:17:10 1998 ++++ Make-config Thu Sep 24 19:23:41 1998 +@@ -1,8 +1,12 @@ # Make-config -MAJOR=3 +MAJOR=14 MINOR=0 - VERSION=$MAJOR.$MINOR ++.if ${PORTOBJFORMAT} == "elf" ++VERSION=$(MAJOR) ++.else + VERSION=$(MAJOR).$(MINOR) ++.endif + # Mesa 3-D graphics library + # Copyright (C) 1995-1998 Brian Paul +@@ -237,6 +241,16 @@ + "CFLAGS = -O2 -fPIC -pedantic -I/usr/X11R6/include -DSHM -DHZ=100" \ + "MAKELIB = ../mklib.freebsd" \ + "XLIBS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11" ++ ++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" + + freebsd-386: + $(MAKE) $(MFLAGS) targets \ |