- Add glew to the list of supported USE_GL variables

- Patch ports depending on GLEW directly

Approved by:	portmgr (pav)
This commit is contained in:
Pietro Cerutti 2010-04-27 21:58:27 +00:00
parent a2ebdc120f
commit 805405e396
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=253358
19 changed files with 27 additions and 39 deletions

View file

@ -383,7 +383,7 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# USE_GL - A list of Mesa or GL related dependencies needed by the port.
# Supported components are: glut, glu, glw, gl and linux.
# If set to "yes", this is equivalent to "glu". Note that
# glut depends on glu, glw and glu depend on gl.
# glew and glut depend on glu, glw and glu depend on gl.
# USE_MOTIF - If set, this port uses a Motif toolkit. Implies USE_XORG+= xpm
# NO_OPENMOTIF - If set, this port uses a custom Motif toolkit
# instead of Openmotif.
@ -1993,6 +1993,7 @@ PKG_IGNORE_DEPENDS?= 'this_port_does_not_exist'
PLIST_SUB+= XAWVER=${XAWVER}
_GL_gl_LIB_DEPENDS= GL.1:${PORTSDIR}/graphics/libGL
_GL_glew_LIB_DEPENDS= GLEW.1:${PORTSDIR}/graphics/glew
_GL_glu_LIB_DEPENDS= GLU.1:${PORTSDIR}/graphics/libGLU
_GL_glw_LIB_DEPENDS= GLw.1:${PORTSDIR}/graphics/libGLw
_GL_glut_LIB_DEPENDS= glut.3:${PORTSDIR}/graphics/libglut

View file

@ -33,7 +33,6 @@ LIB_DEPENDS= GraphicsMagick++.1:${PORTSDIR}/graphics/GraphicsMagick \
qimageblitz.4:${PORTSDIR}/x11/qimageblitz \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
qca.2:${PORTSDIR}/devel/qca \
GLEW.1:${PORTSDIR}/graphics/glew \
gsl:${PORTSDIR}/math/gsl \
wv2.4:${PORTSDIR}/textproc/wv2 \
kipi.6:${PORTSDIR}/graphics/kdegraphics4
@ -46,7 +45,7 @@ USE_KDE4= kdelibs pimlibs kdehier kdeprefix sharedmime automoc4
USE_QT_VER= 4
QT_COMPONENTS= corelib phonon qmake_build moc_build porting_build rcc_build uic_build \
uic3_build
USE_GL= glut
USE_GL= glut glew
USE_LDCONFIG= yes
CMAKE_VERBOSE= yes

View file

@ -33,7 +33,6 @@ LIB_DEPENDS= GraphicsMagick++.1:${PORTSDIR}/graphics/GraphicsMagick \
qimageblitz.4:${PORTSDIR}/x11/qimageblitz \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
qca.2:${PORTSDIR}/devel/qca \
GLEW.1:${PORTSDIR}/graphics/glew \
gsl:${PORTSDIR}/math/gsl \
wv2.4:${PORTSDIR}/textproc/wv2 \
kipi.6:${PORTSDIR}/graphics/kdegraphics4
@ -46,7 +45,7 @@ USE_KDE4= kdelibs pimlibs kdehier kdeprefix sharedmime automoc4
USE_QT_VER= 4
QT_COMPONENTS= corelib phonon qmake_build moc_build porting_build rcc_build uic_build \
uic3_build
USE_GL= glut
USE_GL= glut glew
USE_LDCONFIG= yes
CMAKE_VERBOSE= yes

View file

@ -16,7 +16,6 @@ COMMENT= Open source MSX emulator
LIB_DEPENDS= xml2:${PORTSDIR}/textproc/libxml2 \
jack:${PORTSDIR}/audio/jack \
GLEW:${PORTSDIR}/graphics/glew \
png:${PORTSDIR}/graphics/png
MAKE_ARGS+= INSTALL_BINARY_DIR=${PREFIX}/bin \
@ -25,6 +24,7 @@ MAKE_ARGS+= INSTALL_BINARY_DIR=${PREFIX}/bin \
OPENMSX_CXX=${CXX}
MAKEFILE= GNUmakefile
USE_GL= glew
USE_GMAKE= yes
USE_TCL= 84+
USE_SDL= sdl image ttf

View file

@ -16,7 +16,6 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= 3D adventure and roleplaying game
LIB_DEPENDS= cal3d.12:${PORTSDIR}/graphics/cal3d \
GLEW.1:${PORTSDIR}/graphics/glew \
freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= soya_editor:${PORTSDIR}/graphics/py-soya3d \
${PYTHON_SITELIBDIR}/_openal.so:${PORTSDIR}/audio/py-openal \
@ -28,7 +27,7 @@ USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_TWISTED= yes
USE_GL= yes
USE_GL= glew
USE_SDL= sdl mixer
USE_GETTEXT= yes

View file

@ -16,7 +16,6 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Balazar Brother is a free software 3D puzzle game
LIB_DEPENDS= cal3d.12:${PORTSDIR}/graphics/cal3d \
GLEW.1:${PORTSDIR}/graphics/glew \
freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/cerealizer/__init__.py:${PORTSDIR}/security/py-cerealizer \
${PYTHON_SITELIBDIR}/soya/__init__.py:${PORTSDIR}/graphics/py-soya3d \
@ -28,7 +27,7 @@ USE_GETTEXT= yes
USE_PYTHON= yes
USE_PYDISTUTILS=yes
USE_TWISTED= yes
USE_GL= yes
USE_GL= glew
USE_GMAKE= yes
PYDISTUTILS_PKGNAME= BalazarBrothers

View file

@ -19,15 +19,14 @@ RUN_DEPENDS= soya_editor:${PORTSDIR}/graphics/py-soya3d \
${PYTHON_SITELIBDIR}/_openal.so:${PORTSDIR}/audio/py-openal \
${PYTHON_SITELIBDIR}/ogg/vorbis.so:${PORTSDIR}/audio/py-vorbis \
${PYTHON_SITELIBDIR}/py2play/level.py:${PORTSDIR}/net-p2p/py-py2play
LIB_DEPENDS= cal3d.12:${PORTSDIR}/graphics/cal3d \
GLEW.1:${PORTSDIR}/graphics/glew
LIB_DEPENDS= cal3d.12:${PORTSDIR}/graphics/cal3d
USE_BZIP2= yes
USE_DOS2UNIX= *.po *.mo
USE_GETTEXT= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_GL= yes
USE_GL= glew
USE_SDL= sdl mixer
PYDISTUTILS_PKGNAME= Slune

View file

@ -15,7 +15,6 @@ MAINTAINER= amdmi3@FreeBSD.org
COMMENT= A project aiming to create a new and versatile RTS Engine
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2 \
GLEW.1:${PORTSDIR}/graphics/glew \
boost_thread.4:${PORTSDIR}/devel/boost-libs \
IL.2:${PORTSDIR}/graphics/devil \
ogg.6:${PORTSDIR}/audio/libogg \
@ -28,7 +27,7 @@ ONLY_FOR_ARCHS_REASON= relies on x86 floating-point math
USE_SDL= sdl
USE_OPENAL= al
USE_GL= gl glu
USE_GL= glew
USE_XORG= x11 xcursor
USE_LDCONFIG= yes
MAKE_JOBS_SAFE= yes

View file

@ -22,15 +22,14 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libiovmall.so:${PORTSDIR}/lang/io
RUN_DEPENDS= ${BUILD_DEPENDS}
LIB_DEPENDS= sigc-1.2.5:${PORTSDIR}/devel/libsigc++12 \
CEGUIBase.3:${PORTSDIR}/graphics/cegui \
png.6:${PORTSDIR}/graphics/png \
GLEW.1:${PORTSDIR}/graphics/glew
png.6:${PORTSDIR}/graphics/png
USE_BZIP2= yes
GNU_CONFIGURE= yes
USE_GMAKE= yes
USE_SDL= sdl
USE_GCC= 4.2+
USE_GL= yes
USE_GL= glew
USE_OPENAL= al alut
CONFIGURE_ARGS= --with-io-cflags="-I${LOCALBASE}/include/io" \

View file

@ -18,12 +18,11 @@ COMMENT= Open source driving simulation
BUILD_DEPENDS= scons:${PORTSDIR}/devel/scons \
${LOCALBASE}/lib/libbulletcollision.a:${PORTSDIR}/devel/bullet
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis \
GLEW:${PORTSDIR}/graphics/glew
LIB_DEPENDS= vorbis.4:${PORTSDIR}/audio/libvorbis
RUN_DEPENDS= ${LOCALBASE}/share/${PORTNAME}/settings/VDrift.config:${PORTSDIR}/games/vdrift-data
USE_BZIP2= yes
USE_GL= yes
USE_GL= glew
USE_SDL= sdl image net gfx
SCONS_ARGS= prefix=${PREFIX} \

View file

@ -18,7 +18,6 @@ LIB_DEPENDS= physfs.1:${PORTSDIR}/devel/physfs \
ogg.6:${PORTSDIR}/audio/libogg \
vorbis.4:${PORTSDIR}/audio/libvorbis \
png.6:${PORTSDIR}/graphics/png \
GLEW.1:${PORTSDIR}/graphics/glew \
squirrel.0:${PORTSDIR}/lang/squirrel \
freetype.9:${PORTSDIR}/print/freetype2
BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost-libs
@ -26,7 +25,7 @@ BUILD_DEPENDS= ${LOCALBASE}/include/boost/shared_ptr.hpp:${PORTSDIR}/devel/boost
USE_BZIP2= yes
USE_SCONS= yes
USE_OPENAL= al
USE_GL= gl
USE_GL= glew
USE_SDL= sdl image
USE_BISON= build
MAKE_JOBS_SAFE= yes

View file

@ -19,13 +19,12 @@ BUILD_DEPENDS= ${LOCALBASE}/lib/libode.a:${PORTSDIR}/devel/ode
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
png.6:${PORTSDIR}/graphics/png \
tiff.4:${PORTSDIR}/graphics/tiff \
GLEW.1:${PORTSDIR}/graphics/glew \
IlmThread.6:${PORTSDIR}/graphics/ilmbase
USE_XORG= x11 xext xmu xi
USE_PYTHON= 2.5+
USE_SDL= sdl
USE_GL= gl glu
USE_GL= glew
USE_GMAKE= yes
MAKE_JOBS_UNSAFE= yes

View file

@ -17,8 +17,7 @@ COMMENT= A tool for image blending with multiresolution splines
BUILD_DEPENDS= ${LOCALBASE}/include/boost/pool/pool.hpp:${PORTSDIR}/devel/boost-libs \
OpenEXR>=1.0:${PORTSDIR}/graphics/OpenEXR
LIB_DEPENDS= GLEW.1:${PORTSDIR}/graphics/glew \
jpeg.11:${PORTSDIR}/graphics/jpeg \
LIB_DEPENDS= jpeg.11:${PORTSDIR}/graphics/jpeg \
lcms:${PORTSDIR}/graphics/lcms \
xmi.1:${PORTSDIR}/graphics/plotutils \
tiff.4:${PORTSDIR}/graphics/tiff
@ -32,7 +31,7 @@ USE_AUTOTOOLS= automake:110:env autoconf:262:env
# http://groups.google.com/group/hugin-ptx/browse_thread/thread/725b1581c9889e37/50abe3387d61541a#50abe3387d61541a
# Gerald Pfeifer <gerald@pfeifer.com> asked to use 4.4+ instead of 4.3+
USE_GCC= 4.4+
USE_GL= glut
USE_GL= glew glut
GNU_CONFIGURE= yes
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"

View file

@ -21,8 +21,6 @@ LIB_DEPENDS= tiff:${PORTSDIR}/graphics/tiff \
exiv2:${PORTSDIR}/graphics/exiv2 \
pano13:${PORTSDIR}/graphics/libpano13 \
boost_python:${PORTSDIR}/devel/boost-python-libs \
GLEW:${PORTSDIR}/graphics/glew \
glut:${PORTSDIR}/graphics/libglut \
IlmImf:${PORTSDIR}/graphics/OpenEXR \
Imath:${PORTSDIR}/graphics/ilmbase
# gmake is really needed at _runtime_, do not remove it from below
@ -44,6 +42,8 @@ USE_WX= 2.8+
USE_GETTEXT= yes
USE_GL= glew glut
MAN1= \
PTBatcherGUI.1 \
align_image_stack.1 \

View file

@ -17,10 +17,10 @@ DIST_SUBDIR= python
MAINTAINER= acm@FreeBSD.org
COMMENT= Python wrapper for the amanith 2D vector graphics library
LIB_DEPENDS= GLEW.1:${PORTSDIR}/graphics/glew \
amanith.1:${PORTSDIR}/graphics/amanith
LIB_DEPENDS= amanith.1:${PORTSDIR}/graphics/amanith
BUILD_DEPENDS= swig:${PORTSDIR}/devel/swig13
USE_GL= glew
USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes
PYDISTUTILS_PKGNAME= PyAmanith

View file

@ -20,8 +20,8 @@ MAINTAINER= acm@FreeBSD.org
COMMENT= Advanced OpenGL extensions to Python
BUILD_DEPENDS= pyrex>=0.9.6.2:${PORTSDIR}/devel/pyrex
LIB_DEPENDS= GLEW.1:${PORTSDIR}/graphics/glew
USE_GL= glew
USE_PYTHON= 2.4+
USE_PYDISTUTILS=yes

View file

@ -21,7 +21,6 @@ COMMENT= Very high level 3D engine for Python
BUILD_DEPENDS= ${LOCALBASE}/lib/libode.a:${PORTSDIR}/devel/ode \
${PYTHON_SITELIBDIR}/PIL.pth:${PORTSDIR}/graphics/py-imaging
LIB_DEPENDS= cal3d.12:${PORTSDIR}/graphics/cal3d \
GLEW.1:${PORTSDIR}/graphics/glew \
freetype.9:${PORTSDIR}/print/freetype2
RUN_DEPENDS= ${PYTHON_SITELIBDIR}/editobj/editor.py:${PORTSDIR}/graphics/py-editobj \
${PYTHON_SITELIBDIR}/tofu/client.py:${PORTSDIR}/net/py-tofu \
@ -31,7 +30,7 @@ USE_BZIP2= yes
USE_PYTHON= yes
USE_PYDISTUTILS= yes
USE_OPENAL= al alut
USE_GL= gl
USE_GL= glew
USE_GMAKE= yes
USE_SDL= sdl

View file

@ -46,7 +46,7 @@ CONFIGURE_ARGS+= --disable-sound
.endif
.if defined(WITH_GLEW)
LIB_DEPENDS+= GLEW.1:${PORTSDIR}/graphics/glew
USE_GL+= glew
.else
CONFIGURE_ENV+= ac_cv_header_GL_glew_h=no
.endif

View file

@ -15,14 +15,13 @@ DISTFILES= ${DISTNAME}${EXTRACT_SUFX}
MAINTAINER= gahr@FreeBSD.org
COMMENT= A system dedicated to the visualization of huge graphs
LIB_DEPENDS= GLEW.1:${PORTSDIR}/graphics/glew \
freetype.9:${PORTSDIR}/print/freetype2
LIB_DEPENDS= freetype.9:${PORTSDIR}/print/freetype2
USE_BZIP2= yes
USE_QT_VER= 4
QT_COMPONENTS= corelib moc_build uic_build rcc_build gui opengl xml network \
designer assistant assistantclient
USE_GL= glut
USE_GL= glew glut
USE_GMAKE= yes
USE_GNOME= libxml2
USE_AUTOTOOLS= libtool:22