summaryrefslogtreecommitdiff
path: root/devel/esdl/files/patch-c__src_Makefile
blob: b8bd6fef9b7416e44313895661bde88fc4da376c (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
$FreeBSD$

--- c_src/Makefile.orig	Mon Dec  9 23:11:08 2002
+++ c_src/Makefile	Mon Dec  9 23:11:10 2002
@@ -5,7 +5,7 @@
 #     $Id: Makefile,v 1.3 2002/09/07 06:02:36 bjorng Exp $
 #
 
-OGLDIR  = /usr
+OGLDIR  = /usr/X11R6
 
 # Uncomment these if your opengl header is located in another directory than
 # the usual $(OGLDIR)/include/GL/gl.h
@@ -15,10 +15,10 @@
 GL_LIBS		= -L$(OGLDIR)/lib -lGL -lGLU 
 GL_INCS		= -I$(OGLDIR)/include/$(GL_INCLUDE_DIR)
 
-SDL_LIBS	= $(shell sdl-config --libs)
+SDL_LIBS	= $(shell sdl11-config --libs)
 LIBS		= $(GL_LIBS) $(SDL_LIBS) -lm 
 
-SDLINCS		= $(shell sdl-config --cflags)
+SDLINCS		= $(shell sdl11-config --cflags)
 
 CFLAGS	= -g -O2 -funroll-loops -Wall -ffast-math -fpic -fomit-frame-pointer \
             $(USE_GL_INCLUDE_DIR) -DSHM -DPTHREADS $(GL_INCS) $(SDLINCS)