9e18a007cc
New features: Support for OpenGL 4.2 New extensions: GL_ARB_ES3_compatibility GL_ARB_clear_buffer_object GL_ARB_compute_shader GL_ARB_copy_image GL_ARB_explicit_uniform_location GL_ARB_fragment_layer_viewport GL_ARB_framebuffer_no_attachments GL_ARB_internalformat_query2 GL_ARB_multi_draw_indirect GL_ARB_program_interface_query GL_ARB_robust_buffer_access_behavior GL_ARB_robustness_application_isolation GL_ARB_robustness_share_group_isolation GL_ARB_shader_image_size GL_ARB_shader_storage_buffer_object GL_ARB_stencil_texturing GL_ARB_texture_buffer_range GL_ARB_texture_query_levels GL_ARB_texture_storage_multisample GL_ARB_texture_view GL_ARB_vertex_attrib_binding GL_EXT_debug_marker GL_KHR_debug GL_REGAL_error_string GL_REGAL_extension_query GL_REGAL_log GLX_ARB_robustness_application_isolation GLX_ARB_robustness_share_group_isolation GLX_EXT_create_context_es_profile WGL_EXT_create_context_es_profile Bug fixes: Not using GLU library for Makefile builds.
37 lines
1 KiB
Makefile
37 lines
1 KiB
Makefile
# $NetBSD: Makefile,v 1.15 2012/12/07 16:01:15 adam Exp $
|
|
|
|
DISTNAME= glew-1.9.0
|
|
CATEGORIES= graphics
|
|
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=glew/}
|
|
EXTRACT_SUFX= .tgz
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://glew.sourceforge.net/
|
|
COMMENT= OpenGL Extension Wrangler Library
|
|
LICENSE= modified-bsd AND mit
|
|
|
|
USE_LANGUAGES= c c++
|
|
USE_TOOLS+= gmake
|
|
PKGCONFIG_OVERRIDE= glew.pc.in
|
|
MAKE_ENV+= GLEW_DEST=${PREFIX} X11=${PREFIX} POPT=${CFLAGS:Q}
|
|
MAKE_ENV+= LDFLAGS.EXTRA=${X11_LDFLAGS:Q}
|
|
INSTALL_TARGET= install.all
|
|
INSTALLATION_DIRS+= lib/pkgconfig
|
|
|
|
post-patch:
|
|
${LN} -sf Makefile.netbsdelf ${WRKSRC}/config/Makefile.dragonfly
|
|
${LN} -sf Makefile.netbsdelf ${WRKSRC}/config/Makefile.netbsd
|
|
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "SunOS" && !empty(CC:M*gcc*)
|
|
MAKE_ENV+= SYSTEM=solaris-gcc
|
|
.endif
|
|
|
|
.if ${OPSYS} != "Darwin"
|
|
.include "../../graphics/glu/buildlink3.mk"
|
|
.include "../../graphics/MesaLib/buildlink3.mk"
|
|
.include "../../x11/libXi/buildlink3.mk"
|
|
.include "../../x11/libXmu/buildlink3.mk"
|
|
.endif
|
|
.include "../../mk/bsd.pkg.mk"
|