File tree Expand file tree Collapse file tree 2 files changed +9
-5
lines changed
pkgs/development/tools/ocaml/findlib Expand file tree Collapse file tree 2 files changed +9
-5
lines changed Original file line number Diff line number Diff line change 22
33stdenv . mkDerivation rec {
44 pname = "ocaml${ ocaml . version } -findlib" ;
5- version = "1.9.6 " ;
5+ version = "1.9.7 " ;
66
77 src = fetchurl {
88 url = "http://download.camlcity.org/download/findlib-${ version } .tar.gz" ;
9- sha256 = "sha256-LfmWJ5rha2Bttf9Yefk9v63giY258aPoL3+EX6opMKI =" ;
9+ hash = "sha256-zNgiAI8bh6vVahL/f0rxlaDNouO8AROSF3miBcl5Hik =" ;
1010 } ;
1111
1212 nativeBuildInputs = [ ocaml ] ;
1313 buildInputs = lib . optional ( lib . versionOlder ocaml . version "4.07" ) ncurses ;
1414
1515 patches = [ ./ldconf.patch ./install_topfind.patch ] ;
1616
17+ postPatch = ''
18+ substituteInPlace src/bytes/Makefile --replace-warn OCAMLOPT_SHARED OCAMLOPT
19+ '' ;
20+
1721 dontAddPrefix = true ;
1822 dontAddStaticConfigureFlags = true ;
1923 configurePlatforms = [ ] ;
Original file line number Diff line number Diff line change 11--- a/src/findlib/Makefile
22+++ b/src/findlib/Makefile
3- @@ -123 ,8 +123 ,8 @@
3+ @@ -134 ,8 +134 ,8 @@
44 install: all
55 $(INSTALLDIR) "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/$(NAME)"
66 $(INSTALLDIR) "$(DESTDIR)$(prefix)$(OCAMLFIND_BIN)"
77- test $(INSTALL_TOPFIND) -eq 0 || $(INSTALLDIR) "$(DESTDIR)$(prefix)$(OCAML_CORE_STDLIB)"
8- - test $(INSTALL_TOPFIND) -eq 0 || $(INSTALLFILE ) topfind "$(DESTDIR)$(prefix)$(OCAML_CORE_STDLIB)/"
8+ - test $(INSTALL_TOPFIND) -eq 0 || $(CP ) topfind "$(DESTDIR)$(prefix)$(OCAML_CORE_STDLIB)/"
99+ test $(INSTALL_TOPFIND) -eq 0 || $(INSTALLDIR) "$(DESTDIR)$(prefix)$(OCAML_SITELIB)"
10- + test $(INSTALL_TOPFIND) -eq 0 || $(INSTALLFILE ) topfind "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/"
10+ + test $(INSTALL_TOPFIND) -eq 0 || $(CP ) topfind "$(DESTDIR)$(prefix)$(OCAML_SITELIB)/"
1111 files=`$(SH) $(TOP)/tools/collect_files $(TOP)/Makefile.config \
1212 findlib.cmi findlib.mli findlib.cma findlib.cmxa findlib$(LIB_SUFFIX) findlib.cmxs \
1313 findlib_config.cmi findlib_config.ml topfind.cmi topfind.mli \
You can’t perform that action at this time.
0 commit comments