View | Details | Raw Unified | Return to bug 18575
Collapse All | Expand All

(-)py-opengl/files/Setup.base (-5 / +14 lines)
Lines 9-18 Link Here
9
#
9
#
10
10
11
# This module provides most of the interfaces to the standard OpenGL API
11
# This module provides most of the interfaces to the standard OpenGL API
12
_opengl	_openglmodule.c  -IX11BASE/include -LX11BASE/lib -lGL 
12
_opengl	_openglmodule.c  -IX11BASE/include -LX11BASE/lib -lGL -lXext -lX11
13
13
14
# Some convenience functions contributed by users.
14
# Some convenience functions contributed by users.
15
openglutil	openglutil.c  -IX11BASE/include -LX11BASE/lib -lGL 
15
openglutil	openglutil.c  -IX11BASE/include -LX11BASE/lib -lGL -lXext -lX11
16
16
17
# 
17
# 
18
# If you have the Numeric extensions installed, make sure the
18
# If you have the Numeric extensions installed, make sure the
Lines 22-34 Link Here
22
# These modules provide a few more features than the two modules
22
# These modules provide a few more features than the two modules
23
# above, and significantly more speed in some circumstances
23
# above, and significantly more speed in some circumstances
24
#
24
#
25
# (( Will these guys ever decide on "one" include directory name?! ))
25
_opengl_num	_opengl_nummodule.c  -DNUMERIC \
26
_opengl_num	_opengl_nummodule.c  -DNUMERIC \
26
	-ILOCALBASE/include/python1.5/numerical \
27
	-ILOCALBASE/include/python1.5/numerical \
27
	-IX11BASE/include -LX11BASE/lib -lGL 
28
	-ILOCALBASE/include/python1.5/Numeric \
29
	-IX11BASE/include -LX11BASE/lib -lGL -lXext -lX11
28
30
29
openglutil_num	openglutil_num.c  -DNUMERIC \
31
openglutil_num	openglutil_num.c  -DNUMERIC \
30
	-ILOCALBASE/include/python1.5/numerical \
32
	-ILOCALBASE/include/python1.5/numerical \
31
	-IX11BASE/include -LX11BASE/lib -lGL 
33
	-ILOCALBASE/include/python1.5/Numeric \
34
	-IX11BASE/include -LX11BASE/lib -lGL -lXext -lX11
35
# NOTES:  
36
#  - The -lX11 for _opengl_num and openglutil_num is a hack around 
37
#    XFree86 4.0 libGL.so's undeclared dependence on libX11 (e.g. XFreePixmap).
38
#  - The -lXext for _opengl_num and opengl_num is a hack around
39
#    XFree86 4.0 libGL.so's undeclared depdnence on libXext 
40
#    (e.g. XextAddDisplay)
32
41
33
# The GLU utility library -- part of most standard OpenGL setups
42
# The GLU utility library -- part of most standard OpenGL setups
34
_glu	_glumodule.c  \
43
_glu	_glumodule.c  \
Lines 40-46 Link Here
40
	-lglut  \
49
	-lglut  \
41
# You'll definitely need these (or maybe edit them for MesaGL/MesaGLU:
50
# You'll definitely need these (or maybe edit them for MesaGL/MesaGLU:
42
	-IX11BASE/include -LX11BASE/lib \
51
	-IX11BASE/include -LX11BASE/lib \
43
	-lGLU -lGL  \
52
	-lGLU -lGL \
44
# Various combinations of these depending on your platform:
53
# Various combinations of these depending on your platform:
45
	-lXi -lXmu -lXext -lX11 \
54
	-lXi -lXmu -lXext -lX11 \
46
# on SGI IRIX 6, uncomment the following
55
# on SGI IRIX 6, uncomment the following
(-)py-opengl/Makefile (-4 / +3 lines)
Lines 8-14 Link Here
8
PORTNAME=	opengl
8
PORTNAME=	opengl
9
PORTVERSION=	1.5.5
9
PORTVERSION=	1.5.5
10
CATEGORIES=	graphics python
10
CATEGORIES=	graphics python
11
MASTER_SITES=	http://starship.python.net/crew/da/
11
MASTER_SITES=	http://www.ipass.net/~dbhopper/aa8vb/TMP/ \
12
		http://starship.python.net/crew/da/
12
PKGNAMEPREFIX=	py-
13
PKGNAMEPREFIX=	py-
13
DISTNAME=	PyOpenGL-${PORTVERSION}
14
DISTNAME=	PyOpenGL-${PORTVERSION}
14
15
Lines 20-27 Link Here
20
		${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/numpy
21
		${NUMPYDIR}/Numeric.py:${PORTSDIR}/math/numpy
21
LIB_DEPENDS=	GL.14:${PORTSDIR}/graphics/Mesa3
22
LIB_DEPENDS=	GL.14:${PORTSDIR}/graphics/Mesa3
22
23
23
BROKEN=		"Does not compile"
24
25
ALL_TARGET=	default
24
ALL_TARGET=	default
26
25
27
WRKSRC=		${WRKDIR}/${DISTNAME}/src
26
WRKSRC=		${WRKDIR}/${DISTNAME}/src
Lines 32-38 Link Here
32
#
31
#
33
# Support for Numeric is compiled in by default.
32
# Support for Numeric is compiled in by default.
34
#
33
#
35
NUMPYDIR=	${LOCALBASE}/lib/python1.5/site-packages/numerical
34
NUMPYDIR=	${LOCALBASE}/lib/python1.5/site-packages/Numeric
36
35
37
#
36
#
38
# The standard setup file
37
# The standard setup file

Return to bug 18575