summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorgdt <gdt@pkgsrc.org>2019-10-28 20:02:29 +0000
committergdt <gdt@pkgsrc.org>2019-10-28 20:02:29 +0000
commit335c12e8a5d5ab0eb48a3bc5f327bbd7e5d2991e (patch)
tree54f2078cf9bf040bb42651b7166a4d8dcf38113e /net
parent280217564a6616caab8cfd3402af32f30e996d84 (diff)
downloadpkgsrc-335c12e8a5d5ab0eb48a3bc5f327bbd7e5d2991e.tar.gz
net/unison2.51: Clean up BUILDLINK_API_DEPENDS
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.
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