pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/ocaml-extlib Changed devel/ocaml-extlib to build...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8ba1c2de199
branches:  trunk
changeset: 395852:a8ba1c2de199
user:      jaapb <jaapb%pkgsrc.org@localhost>
date:      Wed May 15 09:01:03 2019 +0000

description:
Changed devel/ocaml-extlib to build on non-opt archs, revbump

diffstat:

 devel/ocaml-extlib/Makefile               |   8 ++++++--
 devel/ocaml-extlib/buildlink3.mk          |   4 ++--
 devel/ocaml-extlib/distinfo               |   3 ++-
 devel/ocaml-extlib/patches/patch-Makefile |  16 ++++++++++++++++
 4 files changed, 26 insertions(+), 5 deletions(-)

diffs (80 lines):

diff -r 3e581a1816bc -r a8ba1c2de199 devel/ocaml-extlib/Makefile
--- a/devel/ocaml-extlib/Makefile       Wed May 15 08:48:08 2019 +0000
+++ b/devel/ocaml-extlib/Makefile       Wed May 15 09:01:03 2019 +0000
@@ -1,6 +1,7 @@
-# $NetBSD: Makefile,v 1.17 2019/03/05 18:30:38 jaapb Exp $
+# $NetBSD: Makefile,v 1.18 2019/05/15 09:01:03 jaapb Exp $
 
 VERSION=       1.7.6
+PKGREVISION=   1
 GITHUB_PROJECT=        ocaml-extlib
 DISTNAME=      ${GITHUB_PROJECT}-${VERSION}
 CATEGORIES=    devel
@@ -12,13 +13,16 @@
 LICENSE=       gnu-lgpl-v2.1
 
 USE_TOOLS+=    gmake
-MAKE_JOBS_SAFE=        no
 
 OCAML_USE_FINDLIB=     yes
 
 .include "../../mk/ocaml.mk"
 
+.if ${OCAML_USE_OPT_COMPILER} == "yes"
 BUILD_TARGET=  build
+.else
+BUILD_TARGET=  all
+.endif
 
 .include "../../devel/ocaml-cppo/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"
diff -r 3e581a1816bc -r a8ba1c2de199 devel/ocaml-extlib/buildlink3.mk
--- a/devel/ocaml-extlib/buildlink3.mk  Wed May 15 08:48:08 2019 +0000
+++ b/devel/ocaml-extlib/buildlink3.mk  Wed May 15 09:01:03 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.8 2019/03/05 18:30:38 jaapb Exp $
+# $NetBSD: buildlink3.mk,v 1.9 2019/05/15 09:01:03 jaapb Exp $
 
 BUILDLINK_TREE+=       ocaml-extlib
 
@@ -6,7 +6,7 @@
 OCAML_EXTLIB_BUILDLINK3_MK:=
 
 BUILDLINK_API_DEPENDS.ocaml-extlib+=   ocaml-extlib>=1.7.0
-BUILDLINK_ABI_DEPENDS.ocaml-extlib+=   ocaml-extlib>=1.7.6
+BUILDLINK_ABI_DEPENDS.ocaml-extlib+=   ocaml-extlib>=1.7.6nb1
 BUILDLINK_PKGSRCDIR.ocaml-extlib?=     ../../devel/ocaml-extlib
 
 .endif # OCAML_EXTLIB_BUILDLINK3_MK
diff -r 3e581a1816bc -r a8ba1c2de199 devel/ocaml-extlib/distinfo
--- a/devel/ocaml-extlib/distinfo       Wed May 15 08:48:08 2019 +0000
+++ b/devel/ocaml-extlib/distinfo       Wed May 15 09:01:03 2019 +0000
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.7 2019/03/05 18:30:38 jaapb Exp $
+$NetBSD: distinfo,v 1.8 2019/05/15 09:01:03 jaapb Exp $
 
 SHA1 (ocaml-extlib-1.7.6.tar.gz) = fa54b96888b688f9bc664325d83aeff448518367
 RMD160 (ocaml-extlib-1.7.6.tar.gz) = cc6edefa6ec989f395b2ea9be33e9599f5f2bad2
 SHA512 (ocaml-extlib-1.7.6.tar.gz) = 3065e2474fb0e480ed076aa1156584a4a6c839cd5d9e59f341e41113abb1736241354aa7ee7cb492967698bc392969522fd5bf30d1ad7f94754c4e10f376afa8
 Size (ocaml-extlib-1.7.6.tar.gz) = 88068 bytes
+SHA1 (patch-Makefile) = b79f3bcb7c5ae20a3e960b9879101b631593e3cb
diff -r 3e581a1816bc -r a8ba1c2de199 devel/ocaml-extlib/patches/patch-Makefile
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/ocaml-extlib/patches/patch-Makefile Wed May 15 09:01:03 2019 +0000
@@ -0,0 +1,16 @@
+$NetBSD: patch-Makefile,v 1.3 2019/05/15 09:01:03 jaapb Exp $
+
+Lift all, opt and cmxs targets to main Makefile
+--- Makefile.orig      2019-03-03 16:33:48.000000000 +0000
++++ Makefile
+@@ -10,8 +10,8 @@ endif
+ .SUFFIXES:
+ .PHONY: build clean test doc release install
+ 
+-build:
+-      $(MAKE) -C src build
++build all opt cmxs:
++      $(MAKE) -C src $@
+ 
+ install:
+       $(MAKE) -C src VERSION=$(VERSION) install



Home | Main Index | Thread Index | Old Index