blob: ca93eb2f3853c36856209233f782c714b3b5e8b4 (
plain)
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
|
$NetBSD: patch-ab,v 1.11 2004/04/09 13:06:06 adam Exp $
--- Make-config.orig 2004-03-30 14:47:13.000000000 +0000
+++ Make-config
@@ -1172,19 +1172,14 @@ mklinux:
"GLUT_CFLAGS = -fexceptions" \
"APP_LIB_DEPS = -lmoto -L/usr/X11/lib -lXmu -lX11 -lm"
-netbsd:
+pkgsrc:
$(MAKE) $(MFLAGS) -f Makefile.X11 targets \
"GL_LIB = libGL.so" \
"GLU_LIB = libGLU.so" \
"GLUT_LIB = libglut.so" \
"GLW_LIB = libGLw.so" \
"OSMESA_LIB = libOSMesa.so" \
- "CC = gcc" \
- "CXX = g++" \
- "CFLAGS = -O2 -fPIC -DUSE_XSHM -I/usr/X11R6/include -DHZ=100" \
- "CXXFLAGS = -O2 -fPIC" \
- "GLUT_CFLAGS = -fexceptions" \
- "APP_LIB_DEPS = -L/usr/X11R6/lib -lXext -lXmu -lXi -lX11 -lm"
+ "APP_LIB_DEPS = -L${PREFIX}/lib -L${X11PREFIX}/lib -lXext -lXmu -lXi -lX11 -lm"
openbsd:
$(MAKE) $(MFLAGS) -f Makefile.X11 targets \
|