diff --git a/Mk/Uses/gl.mk b/Mk/Uses/gl.mk --- a/Mk/Uses/gl.mk +++ b/Mk/Uses/gl.mk @@ -2,7 +2,7 @@ # # Feature: gl # Usage: USES=gl -# USE_GL=egl gbm gl glesv1 glesv2 glew glu glut +# USE_GL=egl gbm gl glesv1 glesv2 glew glu glut opengl # # USE_GL specifies which GL components to add as dependencies. # Not specifying USE_GL with USES=gl is an error. @@ -23,6 +23,7 @@ _GL_glu_LIB_DEPENDS= libGLU.so:graphics/libGLU _GL_glu_USE_XORG= xorgproto _GL_glut_LIB_DEPENDS= libglut.so:graphics/freeglut +_GL_opengl_LIB_DEPENDS= libOpenGL.so:graphics/libglvnd .if !empty(gl_ARGS) IGNORE= USES=gl takes no arguments diff --git a/graphics/libGLU/Makefile b/graphics/libGLU/Makefile --- a/graphics/libGLU/Makefile +++ b/graphics/libGLU/Makefile @@ -1,8 +1,7 @@ # Created by: Eric Anholt PORTNAME= libGLU -PORTVERSION= 9.0.1 -PORTREVISION= 1 +PORTVERSION= 9.0.2 CATEGORIES= graphics MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/glu/ \ https://mesa.freedesktop.org/archive/glu/ @@ -11,11 +10,12 @@ MAINTAINER= x11@FreeBSD.org COMMENT= OpenGL utility library -USES= gl libtool pathfix pkgconfig tar:xz xorg +USES= gl libtool pathfix pkgconfig tar:xz GNU_CONFIGURE= yes -CONFIGURE_ARGS= --disable-static +CONFIGURE_ARGS= --disable-static \ + --enable-libglvnd INSTALL_TARGET= install-strip -USE_GL= gl +USE_GL= opengl USE_LDCONFIG= yes .include diff --git a/graphics/libGLU/distinfo b/graphics/libGLU/distinfo --- a/graphics/libGLU/distinfo +++ b/graphics/libGLU/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1568738956 -SHA256 (glu-9.0.1.tar.xz) = fb5a4c2dd6ba6d1c21ab7c05129b0769544e1d68e1e3b0ffecb18e73c93055bc -SIZE (glu-9.0.1.tar.xz) = 434632 +TIMESTAMP = 1624573301 +SHA256 (glu-9.0.2.tar.xz) = 6e7280ff585c6a1d9dfcdf2fca489251634b3377bfc33c29e4002466a38d02d4 +SIZE (glu-9.0.2.tar.xz) = 436176 diff --git a/graphics/libGLU/pkg-descr b/graphics/libGLU/pkg-descr --- a/graphics/libGLU/pkg-descr +++ b/graphics/libGLU/pkg-descr @@ -1,3 +1,3 @@ This package contains the OpenGL utility library. -WWW: http://www.freedesktop.org/Software/xorg +WWW: https://gitlab.freedesktop.org/mesa/glu diff --git a/graphics/libGLU/pkg-plist b/graphics/libGLU/pkg-plist --- a/graphics/libGLU/pkg-plist +++ b/graphics/libGLU/pkg-plist @@ -1,5 +1,4 @@ include/GL/glu.h -include/GL/glu_mangle.h lib/libGLU.so lib/libGLU.so.1 lib/libGLU.so.1.3.1