pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/unison2.51 net/unison2.51: Clean up BUILDLINK_API_...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a17f20c36349
branches:  trunk
changeset: 403563:a17f20c36349
user:      gdt <gdt%pkgsrc.org@localhost>
date:      Mon Oct 28 20:02:29 2019 +0000

description:
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:

 net/unison2.51/Makefile   |  9 +--------
 net/unison2.51/options.mk |  5 ++++-
 2 files changed, 5 insertions(+), 9 deletions(-)

diffs (43 lines):

diff -r bd176ce35454 -r a17f20c36349 net/unison2.51/Makefile
--- a/net/unison2.51/Makefile   Mon Oct 28 19:59:29 2019 +0000
+++ b/net/unison2.51/Makefile   Mon Oct 28 20:02:29 2019 +0000
@@ -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 @@
 # 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 -r bd176ce35454 -r a17f20c36349 net/unison2.51/options.mk
--- a/net/unison2.51/options.mk Mon Oct 28 19:59:29 2019 +0000
+++ b/net/unison2.51/options.mk Mon Oct 28 20:02:29 2019 +0000
@@ -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 @@
 
 .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



Home | Main Index | Thread Index | Old Index