BSD Ports

graphics/glew-wayland 2.2.0_3 DragonFly

OpenGL Extension Wrangler Library

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
BSD3CLAUSE, MIT
Categories
graphics, wayland
Package size
198.3 KiB, 1816.2 KiB installed

Description

The goal of the OpenGL Extension Wrangler Library (GLEW) is to assist C/C++ OpenGL developers with two tedious tasks: initializing and using extensions and writing portable applications. GLEW provides an efficient run-time mechanism to determine whether a certain extension is supported by the driver or not. OpenGL core and extension functionality is exposed via a single header file.

In the other systems

The newest version among them is 2.3.1, as upstream numbers it.

SystemPortVersionVulnerabilitiesStatusMaintainerLast update
DragonFlygraphics/glew-wayland2.2.0_3none known-[email protected]-
FreeBSDgraphics/glew-wayland2.3.1 newestnone known-[email protected]2026-07-24
MidnightBSDgraphics/glew-waylandno data--2026-07-17
HardenedBSDgraphics/glew-wayland2.3.1 newestno data-[email protected]-
GhostBSDgraphics/glew-wayland2.3.1 newestno data-[email protected]-

Install

Binary package:

pkg install glew-wayland

From DPorts:

cd /usr/dports/graphics/glew-wayland && make install clean

Dependency graph

Ports that need it on the left, what it needs to run on the right; at most 8 of each. "Dependencies" below lists them all.

Dependencies

Run dependencies 4

No port depends on this one.

Configuration

No options to configure.

Service scripts
none

Message after installing

To enable Wayland support in GLEW for a specific application
  $ LD_PRELOAD=libGLEW-wayland.so <application>

To enable for current session
  $ export LD_LIBMAP=libGLEW.so.2=libGLEW-wayland.so.2

To enable globally
  $ echo libGLEW.so.2 libGLEW-wayland.so.2 >>/etc/libmap.conf