2722e96b7e
Changes include: * sync with OCaml 4.12 * breaking change: ExtList.find_map type updated to match stdlib (following deprecation in previous release) * breaking change: minimal (recommended) build of extlib now excludes Base64 module * String: fold_left and fold_right without allocations
27 lines
598 B
Makefile
27 lines
598 B
Makefile
# $NetBSD: Makefile,v 1.22 2021/03/08 20:36:53 jaapb Exp $
|
|
|
|
VERSION= 1.7.8
|
|
GITHUB_PROJECT= ocaml-extlib
|
|
DISTNAME= ${GITHUB_PROJECT}-${VERSION}
|
|
CATEGORIES= devel
|
|
MASTER_SITES= ${MASTER_SITE_GITHUB:=ygrek/}
|
|
|
|
MAINTAINER= jaapb@NetBSD.org
|
|
HOMEPAGE= https://github.com/ygrek/ocaml-extlib
|
|
COMMENT= Alternative standard library for OCaml
|
|
LICENSE= gnu-lgpl-v2.1
|
|
|
|
USE_TOOLS+= gmake
|
|
|
|
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"
|