freebsd-ports/graphics/libosmesa/Makefile
John Marino 1d2525df43 Add USES+=ssl to 3 of 8 graphics/libGL/Makefile.common consumers
Despite having a configure argument of --with-sha1=libcrypto, only three
of the eight users of graphics/libGL/Makefile.common actually link to
SSL libraries.  Individually add USES=ssl to these three ports rather
than have all 8 having this requirement.

Approved by:	SSL blanket
2016-09-15 16:16:22 +00:00

34 lines
848 B
Makefile

# Created by: gahr
# $FreeBSD$
PORTNAME= libosmesa
PORTVERSION= ${MESAVERSION}
PORTREVISION= 0
CATEGORIES= graphics
COMMENT= Off-Screen Mesa implementation of the OpenGL API
LIB_DEPENDS= libexpat.so:textproc/expat2 \
libglapi.so:graphics/libglapi
USES= ssl
USE_XORG= x11 xau xcb xdmcp xvmc
# libosmesa doesn't link agains libGL but osmesa.h needs GL/gl.h
# and both headers are intalled by libGL ....
USE_GL= gl
.include <bsd.port.options.mk>
.include "${.CURDIR}/../../graphics/libGL/Makefile.common"
#MESA_BUILD_WRKSRC= src/util src/glsl src/mesa #/drivers/osmesa
MESA_INSTALL_WRKSRC= src/mesa/drivers/osmesa
.include "${.CURDIR}/../../graphics/libGL/Makefile.targets"
post-install:
@${MKDIR} ${STAGEDIR}${PREFIX}/include/GL
${INSTALL_DATA} ${WRKSRC}/include/GL/osmesa.h \
${STAGEDIR}${PREFIX}/include/GL
.include <bsd.port.mk>