180c461f30
Drop ocaml declarations as they are ancient (3.x!). Move ocaml-lablgtk decl to options.mk where the bl3 is included, for tidyness and readability. No functional change intended.
18 lines
481 B
Makefile
18 lines
481 B
Makefile
# $NetBSD: options.mk,v 1.2 2019/10/28 20:02:29 gdt Exp $
|
|
|
|
PKG_OPTIONS_VAR= PKG_OPTIONS.unison
|
|
PKG_SUPPORTED_OPTIONS= lablgtk
|
|
|
|
.include "../../mk/bsd.options.mk"
|
|
|
|
.if !empty(PKG_OPTIONS:Mlablgtk)
|
|
MAKE_FLAGS+= UISTYLE=gtk2
|
|
BUILDLINK_API_DEPENDS.ocaml-lablgtk+= ocaml-lablgtk>=2.16.0
|
|
|
|
DEPENDS+= font-schumacher-misc>=1.0:../../fonts/font-schumacher-misc
|
|
|
|
.include "../../x11/ocaml-lablgtk/buildlink3.mk"
|
|
.include "../../x11/gtk2/buildlink3.mk"
|
|
.else
|
|
MAKE_FLAGS+= UISTYLE=text
|
|
.endif
|