# $NetBSD: buildlink3.mk,v 1.13 2019/11/03 09:14:08 rillig Exp $ BUILDLINK_TREE+= fltk .if !defined(FLTK_BUILDLINK3_MK) FLTK_BUILDLINK3_MK:= BUILDLINK_API_DEPENDS.fltk+= fltk>=1.3.0 BUILDLINK_ABI_DEPENDS.fltk?= fltk>=1.3.3nb4 BUILDLINK_PKGSRCDIR.fltk?= ../../x11/fltk13 BUILDLINK_FILES.fltk+= include/Fl/* pkgbase := fltk .include "../../mk/bsd.fast.prefs.mk" .include "../../mk/pkg-build-options.mk" # For "opengl" option .if !empty(PKG_BUILD_OPTIONS.fltk:Mopengl) . if ${OPSYS} != "Darwin" . include "../../graphics/MesaLib/buildlink3.mk" . include "../../graphics/glu/buildlink3.mk" . endif .endif .if ${OPSYS} != "Darwin" . include "../../x11/libXext/buildlink3.mk" . include "../../x11/libXft/buildlink3.mk" . include "../../x11/libXinerama/buildlink3.mk" .endif .include "../../mk/jpeg.buildlink3.mk" .include "../../graphics/png/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" .endif # FLTK_BUILDLINK3_MK BUILDLINK_TREE+= -fltk