SecBSD's official ports repository
This commit is contained in:
commit
2c0afcbbf3
64331 changed files with 5339189 additions and 0 deletions
12
devel/ocaml-ocamlbuild/patches/patch-Makefile
Normal file
12
devel/ocaml-ocamlbuild/patches/patch-Makefile
Normal file
|
@ -0,0 +1,12 @@
|
|||
Index: Makefile
|
||||
--- Makefile.orig
|
||||
+++ Makefile
|
||||
@@ -93,7 +93,7 @@ INSTALL_LIB=\
|
||||
src/ocamlbuildlib.cma \
|
||||
src/ocamlbuild.cmo \
|
||||
src/ocamlbuild_pack.cmi \
|
||||
- $(EXTRA_CMO:.cmo=.cmi)
|
||||
+ $(EXTRA_CMO) $(EXTRA_CMO:.cmo=.cmi)
|
||||
|
||||
INSTALL_LIB_OPT=\
|
||||
src/ocamlbuildlib.cmxa src/ocamlbuildlib$(EXT_LIB) \
|
23
devel/ocaml-ocamlbuild/patches/patch-configure_make
Normal file
23
devel/ocaml-ocamlbuild/patches/patch-configure_make
Normal file
|
@ -0,0 +1,23 @@
|
|||
Index: configure.make
|
||||
--- configure.make.orig
|
||||
+++ configure.make
|
||||
@@ -18,16 +18,9 @@ OCAML_MANDIR = $(MANDIR)
|
||||
# OCAMLBUILD_* variables.
|
||||
|
||||
OCAMLBUILD_PREFIX ?= $(PREFIX)
|
||||
-OCAMLBUILD_BINDIR ?= \
|
||||
- $(or $(shell opam config var bin 2>/dev/null),\
|
||||
- $(PREFIX)/bin)
|
||||
-OCAMLBUILD_LIBDIR ?= \
|
||||
- $(or $(shell opam config var lib 2>/dev/null),\
|
||||
- $(shell ocamlfind printconf destdir 2>/dev/null),\
|
||||
- $(OCAML_LIBDIR))
|
||||
-OCAMLBUILD_MANDIR ?= \
|
||||
- $(or $(shell opam config var man 2>/dev/null),\
|
||||
- $(OCAML_MANDIR))
|
||||
+OCAMLBUILD_BINDIR ?= $(BINDIR)
|
||||
+OCAMLBUILD_LIBDIR ?= $(LIBDIR)
|
||||
+OCAMLBUILD_MANDIR ?= $(MANDIR)
|
||||
|
||||
# It is important to distinguish OCAML_LIBDIR, which points to the
|
||||
# directory of the ocaml compiler distribution, and OCAMLBUILD_LIBDIR,
|
Loading…
Add table
Add a link
Reference in a new issue