Commit graph

10 commits

Author SHA1 Message Date
jaapb
c18ee77937 Added variables to package variables 2016-06-20 19:44:04 +00:00
jaapb
5b9387d7eb Two fixes to the ocaml-findlib-register pkginstall fragment:
- set a sensible default for OCAML_FINDLIB_DIRS (and factorise out
  OCAML_SITELIBDIR)
- make it possible not to register any directory by setting
  OCAML_FINDLIB_REGISTER to no
2016-06-17 08:53:42 +00:00
jaapb
365da8a4e1 Setting OCAML_USE_OASIS now automatically adds ocamlbuild as a build
dependency
2016-05-06 14:13:23 +00:00
jaapb
e712e0e4d8 Added a pkginstall fragment that takes over from ocaml-findlib-register (a
script included in the ocaml-findlib package) and removes the need to call
said script explicitly from PLIST.

Packages that use findlib will now automatically add directories that are
in OCAML_FINDLIB_DIRS (set by default to $(OCAML_SITELIBDIR)/${PKGBASE})
to the file ${PREFIX}/lib/ocaml/ld.conf. This behaviour can be disabled by
undefining OCAML_FINDLIB_REGISTER.
2016-04-12 15:52:29 +00:00
jaapb
acc9ee8227 Added OCAML_USE_OASIS_DYNRUN option 2016-03-04 15:19:42 +00:00
jaapb
339d229d93 Removed the automatic setting of PKGNAME to ocaml-${DISTNAME} from
ocaml.mk. It was becoming more trouble than it was worth: only a minority
of packages used it, and it only made Makefiles more confusing.
(I've left out some packages: these will be updated forthwith)
2016-02-06 12:06:07 +00:00
hiramatsu
d5748f49ad Add PRINT_PLIST_AWK code to put ${OCAML_SITELIB} into generated PLIST.
OK'ed by jaapb@ in private mail.
2015-04-20 02:36:05 +00:00
jaapb
a74ea17a92 Added OCAML_SITELIBDIR to MAKE_ENV 2014-10-27 11:58:36 +00:00
jaapb
d5eb652594 Changes:
- findlib no longer standard
- added OASIS_BUILD_ARGS parameter
- force native code compilation (or not) according to options
- moved things around so that OASIS implies FINDLIB
2014-10-09 19:37:21 +00:00
jaapb
3d81bdac6c File to centralise common definitions for OCaml packages. Not yet used at
the moment, but I will start slowly converting packages.
2014-08-17 09:25:23 +00:00