mirror of
https://github.com/macports/macports-ports.git
synced 2026-07-12 18:20:25 -07:00
Version updates required for 5.5: - ocaml-merlin to 5.8-505 - ocaml-camlp4 to 5.5+1 - ocaml-js_of_ocaml to 6.4.0 - ocaml-batteries to 3.11.0 Removed ocaml-ppx_tools which is dead upstream and superseded by ppxlib. Signed-off-by: Paul Guyot <pguyot@kallisys.net>
41 lines
1.3 KiB
Tcl
41 lines
1.3 KiB
Tcl
# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
|
|
|
|
PortSystem 1.0
|
|
PortGroup github 1.0
|
|
PortGroup legacysupport 1.1
|
|
PortGroup ocaml 1.1
|
|
|
|
# memmem
|
|
legacysupport.newest_darwin_requires_legacy 10
|
|
|
|
name ocaml-base_bigstring
|
|
github.setup janestreet base_bigstring 0.17.0 v
|
|
revision 2
|
|
categories ocaml devel
|
|
maintainers nomaintainer
|
|
license MIT
|
|
description String type based on Bigarray, for use in I/O and C-bindings
|
|
long_description ${description}
|
|
|
|
checksums rmd160 6e4f087328a43d2a1786cd012719e6ec9f498ff5 \
|
|
sha256 0c77edb9db4f29797cd5c22dd07fdbe4ff668715be870b86dcc1d849730b8562 \
|
|
size 20840
|
|
github.tarball_from archive
|
|
|
|
# memmem is unavailable prior to 10.7:
|
|
# base_bigstring_stubs.c: warning: implicit declaration of function 'memmem'; did you mean 'memset'?
|
|
# Use legacysupport to provide it.
|
|
if {${os.platform} eq "darwin" && ${os.major} < 11} {
|
|
patchfiles patch-memmem.diff
|
|
|
|
post-patch {
|
|
reinplace "s|@PREFIX@|${prefix}|g" ${worksrcpath}/src/dune
|
|
}
|
|
}
|
|
|
|
depends_lib-append port:ocaml-base \
|
|
port:ocaml-int_repr \
|
|
port:ocaml-ppx_jane
|
|
|
|
ocaml.build_type dune
|