diff options
author | Matthew Rezny <rezny@FreeBSD.org> | 2017-05-21 19:30:54 +0000 |
---|---|---|
committer | Matthew Rezny <rezny@FreeBSD.org> | 2017-05-21 19:30:54 +0000 |
commit | 943c52c8ccd51fa22033423130cb792b2a6c7083 (patch) | |
tree | 7954e3cb78911029ebb69dec626e64a28b5dd491 /graphics/libosmesa/Makefile | |
parent | 049c1705f1c09d0d7e93924f6fced8765cba045d (diff) | |
download | ports-943c52c8ccd51fa22033423130cb792b2a6c7083.tar.gz ports-943c52c8ccd51fa22033423130cb792b2a6c7083.zip |
Notes
Diffstat (limited to 'graphics/libosmesa/Makefile')
-rw-r--r-- | graphics/libosmesa/Makefile | 13 |
1 files changed, 5 insertions, 8 deletions
diff --git a/graphics/libosmesa/Makefile b/graphics/libosmesa/Makefile index bc31ed35fec6..de324b088a60 100644 --- a/graphics/libosmesa/Makefile +++ b/graphics/libosmesa/Makefile @@ -7,20 +7,17 @@ CATEGORIES= graphics COMMENT= Off-Screen Mesa implementation of the OpenGL API -LIB_DEPENDS= libexpat.so:textproc/expat2 \ - libglapi.so:graphics/mesa-libs - USE_XORG= glproto .include <bsd.port.options.mk> -.include "${.CURDIR}/../../graphics/mesa-dri/Makefile.common" +.include "${.CURDIR:H:H}/graphics/mesa-dri/Makefile.common" CONFIGURE_ARGS+= --disable-dri --disable-egl --disable-gbm \ - --with-gallium-drivers=swrast + --disable-gles2 --with-gallium-drivers=swrast MESA_BUILD_WRKSRC= src/util src/compiler src/mapi src/mesa .if "${MESA_LLVM_VER}" != "" -CONFGIURE_ARGS+= --enable-osmesa-gallium +CONFIGURE_ARGS+= --enable-osmesa-gallium MESA_BUILD_WRKSRC+= src/gallium MESA_INSTALL_WRKSRC= src/gallium/state_trackers/osmesa src/gallium/targets/osmesa .else @@ -28,11 +25,11 @@ CONFIGURE_ARGS+= --enable-osmesa MESA_INSTALL_WRKSRC= src/mesa/drivers/osmesa .endif -.include "${.CURDIR}/../../graphics/mesa-dri/Makefile.targets" +.include "${MASTERDIR}/Makefile.targets" post-install: @${MKDIR} ${STAGEDIR}${PREFIX}/include/GL ${INSTALL_DATA} ${WRKSRC}/include/GL/osmesa.h \ ${STAGEDIR}${PREFIX}/include/GL -.include <bsd.port.mk> +.include <bsd.port.post.mk> |