oce: Only needs MesaLib and glu

This commit is contained in:
nia 2019-08-30 18:51:16 +00:00
parent 3325dbefdc
commit f03dff2d36
2 changed files with 6 additions and 4 deletions

View file

@ -1,4 +1,4 @@
# $NetBSD: buildlink3.mk,v 1.2 2018/03/12 11:15:25 wiz Exp $
# $NetBSD: buildlink3.mk,v 1.3 2019/08/30 18:51:16 nia Exp $
BUILDLINK_TREE+= oce
@ -12,7 +12,8 @@ BUILDLINK_PKGSRCDIR.oce?= ../../cad/oce
BUILDLINK_INCDIRS.oce+= include/oce
.if !empty(PKG_OPTIONS:Mx11)
.include "../../graphics/Mesa/buildlink3.mk"
.include "../../graphics/MesaLib/buildlink3.mk"
.include "../../graphics/glu/buildlink3.mk"
.include "../../graphics/freetype2/buildlink3.mk"
.include "../../lang/tcl/buildlink3.mk"
.include "../../x11/tk/buildlink3.mk"

View file

@ -1,4 +1,4 @@
# $NetBSD: options.mk,v 1.1 2017/01/20 11:00:50 fhajny Exp $
# $NetBSD: options.mk,v 1.2 2019/08/30 18:51:16 nia Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.oce
PKG_SUPPORTED_OPTIONS= oce-draw x11
@ -11,7 +11,8 @@ PLIST_SRC= ${PLIST_SRC_DFLT}
.if !empty(PKG_OPTIONS:Mx11)
CMAKE_ARGS+= -DFREETYPE_INCLUDE_DIRS:PATH=${BUILDLINK_PREFIX.freetype2}/include
PLIST_SRC+= ${PKGDIR}/PLIST.x11
. include "../../graphics/Mesa/buildlink3.mk"
. include "../../graphics/MesaLib/buildlink3.mk"
. include "../../graphics/glu/buildlink3.mk"
. include "../../graphics/freetype2/buildlink3.mk"
.else
CMAKE_ARGS+= -DOCE_DISABLE_X11=ON