summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/unison2.51/Makefile9
-rw-r--r--net/unison2.51/options.mk5
2 files changed, 5 insertions, 9 deletions
diff --git a/net/unison2.51/Makefile b/net/unison2.51/Makefile
index 772741a4bd6..6fd63c06889 100644
--- a/net/unison2.51/Makefile
+++ b/net/unison2.51/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2019/10/28 19:59:29 gdt Exp $
+# $NetBSD: Makefile,v 1.17 2019/10/28 20:02:29 gdt Exp $
# This package is "unison-2.51.x" because 2.51 is the standard
# approach, and hence uses the bare name.
@@ -17,13 +17,6 @@ LICENSE= gnu-gpl-v3
# Error: Unbound module Prefs
#MAKE_JOBS_SAFE= no
-.if (${MACHINE_ARCH} == "arm")
-BUILDLINK_ABI_DEPENDS.ocaml+= ocaml>=3.12.0nb2
-.else
-BUILDLINK_ABI_DEPENDS.ocaml+= ocaml>=3.11.2
-.endif
-BUILDLINK_API_DEPENDS.ocaml-lablgtk+= ocaml-lablgtk>=2.16.0
-
# docs: unison-manual.pdf/html/ps/dvi
#WRKSRC= ${WRKDIR}/src
USE_TOOLS+= gmake
diff --git a/net/unison2.51/options.mk b/net/unison2.51/options.mk
index c0861b6bd43..cb0c9321676 100644
--- a/net/unison2.51/options.mk
+++ b/net/unison2.51/options.mk
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.1 2018/04/30 10:14:29 wiz Exp $
+# $NetBSD: options.mk,v 1.2 2019/10/28 20:02:29 gdt Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.unison
PKG_SUPPORTED_OPTIONS= lablgtk
@@ -7,7 +7,10 @@ PKG_SUPPORTED_OPTIONS= lablgtk
.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