diff options
| author | Stanislav Sedov <stas@FreeBSD.org> | 2008-04-07 06:05:58 +0000 |
|---|---|---|
| committer | Stanislav Sedov <stas@FreeBSD.org> | 2008-04-07 06:05:58 +0000 |
| commit | baf0f911a523ca1f4d360ea86fde738207a981a0 (patch) | |
| tree | c0e15c69c06374d835dd778c217aae4416c74a9f /devel/ocaml-findlib/files/patch-src_findlib_Makefile | |
| parent | - Update to 0.05 (diff) | |
- Update to 1.2.1
- respect PREFIX
- install documentation.
PR: ports/101161 (based on)
Submitted by: me
Notes
Notes:
svn path=/head/; revision=210711
Diffstat (limited to 'devel/ocaml-findlib/files/patch-src_findlib_Makefile')
| -rw-r--r-- | devel/ocaml-findlib/files/patch-src_findlib_Makefile | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/devel/ocaml-findlib/files/patch-src_findlib_Makefile b/devel/ocaml-findlib/files/patch-src_findlib_Makefile new file mode 100644 index 000000000000..44f11d0657a2 --- /dev/null +++ b/devel/ocaml-findlib/files/patch-src_findlib_Makefile @@ -0,0 +1,19 @@ +--- src/findlib/Makefile.orig 2008-04-07 01:37:57.000000000 +0400 ++++ src/findlib/Makefile 2008-04-07 01:38:45.000000000 +0400 +@@ -17,6 +17,7 @@ + OCAMLLEX = ocamllex + CAMLP4O = camlp4 pa_o.cmo pa_op.cmo pr_o.cmo -- + #CAMLP4O = camlp4 pa_o.cmo pa_op.cmo pr_dump.cmo -- ++OCAML_LIBBIN=${PREFIX}/lib/ocaml + + + OBJECTS = findlib_config.cmo fl_split.cmo fl_metatoken.cmo fl_meta.cmo \ +@@ -80,7 +81,7 @@ + install: all + mkdir -p $(prefix)$(OCAML_SITELIB)/$(NAME) + mkdir -p $(prefix)$(OCAMLFIND_BIN) +- test $(INSTALL_TOPFIND) -eq 0 || cp topfind $(prefix)$(OCAML_CORE_STDLIB) ++ test $(INSTALL_TOPFIND) -eq 0 || cp topfind $(prefix)$(OCAML_LIBBIN) + files=`$(TOP)/tools/collect_files $(TOP)/Makefile.config findlib.cmi findlib.mli findlib.cma topfind.cmi topfind.mli fl_package_base.mli fl_package_base.cmi fl_metascanner.mli fl_metascanner.cmi findlib_top.cma findlib.cmxa findlib.a META` && \ + ${BSD_INSTALL_DATA} $$files $(prefix)$(OCAML_SITELIB)/$(NAME) + f="ocamlfind$(EXEC_SUFFIX)"; { test -f ocamlfind_opt$(EXEC_SUFFIX) && f="ocamlfind_opt$(EXEC_SUFFIX)"; }; \ |
