Ticket #23040: Portfile-caml-sqlite3.diff

File Portfile-caml-sqlite3.diff, 1.2 KB (added by fh@…, 13 years ago)
  • (a) /Users/herbrete/Downloads/Portfile.txt vs. (b) Portfile

    a b  
    33PortSystem          1.0
    44
    55name                caml-sqlite3
    6 version             1.5.8
     6version             1.5.9
    77categories          devel ml databases
    88maintainers         landonf stechert openmaintainer
    99description         OCaml bindings for SQLite 3
     
    1515
    1616distname            ocaml-sqlite3-${version}
    1717
    18 checksums           sha1    2100e5ff4350d9be8a10aee2bd36e0f55e6fd9da \
    19                     rmd160  f85159d95f9a54093192558962fd7c3b9f835f9e
     18checksums           sha1    e92f3d352a145389af7acaedc3cc001a63764bba \
     19                    rmd160  9c9ea73c66ba8d12a72bb727cbe5070364d44fb6
    2020
    2121depends_lib         port:ocaml \
    2222                    port:caml-findlib \
     
    2727
    2828patchfiles          patch-Makefile.in
    2929
     30# ocamlmklib does not hanle the -arch flag
     31if {[info exists build_arch] && ${os.platform} == "darwin"} {
     32  configure.cc_archflags
     33  configure.ld_archflags
     34  configure.pre_args-append --build=${build_arch}-apple-darwin${os.major}
     35}
     36
    3037configure.args      --with-sqlite3=${prefix}
    3138
    3239use_parallel_build  no