Page MenuHomeFreeBSD

D30869.1775630904.diff
No OneTemporary

Size
924 B
Referenced Files
None
Subscribers
None

D30869.1775630904.diff

Index: graphics/libGLU/Makefile
===================================================================
--- graphics/libGLU/Makefile
+++ graphics/libGLU/Makefile
@@ -2,7 +2,7 @@
PORTNAME= libGLU
PORTVERSION= 9.0.1
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= graphics
MASTER_SITES= ftp://ftp.freedesktop.org/pub/mesa/glu/ \
https://mesa.freedesktop.org/archive/glu/
@@ -11,11 +11,23 @@
MAINTAINER= x11@FreeBSD.org
COMMENT= OpenGL utility library
-USES= gl libtool pathfix pkgconfig tar:xz xorg
+USES= libtool pathfix pkgconfig tar:xz xorg
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --disable-static
INSTALL_TARGET= install-strip
-USE_GL= gl
USE_LDCONFIG= yes
+OPTIONS_DEFINE= X11
+OPTIONS_DEFAULT= X11
+
+X11_USES= gl
+X11_USE= GL=gl
+
+.include <bsd.port.options.mk>
+
+.if ! ${PORT_OPTIONS:MX11}
+CONFIGURE_ARGS+=--enable-osmesa
+LIB_DEPENDS+= libOSMesa.so:graphics/libosmesa
+.endif
+
.include <bsd.port.mk>

File Metadata

Mime Type
text/plain
Expires
Wed, Apr 8, 6:48 AM (6 h, 15 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
28298507
Default Alt Text
D30869.1775630904.diff (924 B)

Event Timeline