Ticket #38087: Portfile-ocaml.diff
File Portfile-ocaml.diff, 1.2 KB (added by inouetakahiroki@…, 12 years ago) |
---|
-
Portfile
old new 4 4 5 5 name ocaml 6 6 epoch 1 7 revision 1 7 8 version 4.00.1 8 9 # When updating ocaml, also update camlp5 to a compatible version (c.f. #26769, #20219, #18292) 9 10 set major_vers [join [lrange [split ${version} .] 0 1] .] … … 32 33 33 34 set docdir ${prefix}/share/doc/${name} 34 35 36 patchfiles patch-Makefile.diff 37 38 39 40 35 41 # Configure. 36 42 configure.pre_args -prefix ${prefix} 37 43 configure.args -no-tk -cc ${configure.cc} -aspp \"${configure.cc} -c\" \ … … 42 48 build.cmd "unset LD_PREBIND LD_PREBIND_ALLOW_OVERLAP && ${build.cmd}" 43 49 44 50 # Install. 45 destroot.target install 51 destroot.target install installemacs 46 52 destroot.destdir BINDIR=${destroot}${prefix}/bin \ 47 53 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 49 56 50 57 post-destroot { 51 58 # Change "ld.conf" to remove ${destroot} in paths.