Ticket #38087: Portfile-ocaml.diff

File Portfile-ocaml.diff, 1.2 KB (added by inouetakahiroki@…, 12 years ago)
  • Portfile

    old new  
    44
    55name                ocaml
    66epoch               1
     7revision            1
    78version             4.00.1
    89# When updating ocaml, also update camlp5 to a compatible version (c.f. #26769, #20219, #18292)
    910set major_vers      [join [lrange [split ${version} .] 0 1] .]
     
    3233
    3334set docdir          ${prefix}/share/doc/${name}
    3435
     36patchfiles          patch-Makefile.diff
     37
     38
     39
     40
    3541# Configure.
    3642configure.pre_args  -prefix ${prefix}
    3743configure.args      -no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\" \
     
    4248build.cmd           "unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && ${build.cmd}"
    4349
    4450# Install.
    45 destroot.target     install
     51destroot.target     install installemacs   
    4652destroot.destdir    BINDIR=${destroot}${prefix}/bin \
    4753                    LIBDIR=${destroot}${prefix}/lib/ocaml \
    48                     MANDIR=${destroot}${prefix}/share/man
     54                    MANDIR=${destroot}${prefix}/share/man \
     55                    EMACSDIR=${destroot}${prefix}/share/emacs/site-lisp
    4956
    5057post-destroot {
    5158    # Change "ld.conf" to remove ${destroot} in paths.