b2af1a7bcf
- 1.3.2: Handling of empty arguments (Wojciech Meyer). Added entry for camlp4.fulllib. New switch -add for "ocamlfind install" (Hans Ole Rafaelsen). Further fixes for ocaml-4.00. Fixing the recognition of double .cmi interface files. Fixing -dontlink (it is now deeply interpreted). - 1.3.1: Fixing a bug with ocamlmklib that slipped through in 1.3.0 - 1.3.0: Fixes for ocaml-4.00 (especially topfind). Emitting an error if the configuration file does not exist. Emitting a warning if the selected toolchain does not exist. camlp4 is referenced by "+camlp4" in META. Including the sources for the documentation in the tarball. License change (simplification) for num_top_printers.mli. Fix ocamlmklib wrapper: processing contracted args (like -L/dir) correctly. Many wrappers get a new option -passrest instructing to pass all remaining options on the command-line unchanged to the invoked tool. Prettified -help output.
33 lines
1 KiB
Makefile
33 lines
1 KiB
Makefile
# $NetBSD: buildlink3.mk,v 1.4 2012/07/06 09:22:04 wiz Exp $
|
|
|
|
BUILDLINK_TREE+= ocaml-findlib
|
|
|
|
.if !defined(OCAML_FINDLIB_BUILDLINK3_MK)
|
|
OCAML_FINDLIB_BUILDLINK3_MK:=
|
|
|
|
BUILDLINK_API_DEPENDS.ocaml-findlib+=ocaml-findlib>=1.2
|
|
BUILDLINK_ABI_DEPENDS.ocaml-findlib+=ocaml-findlib>=1.2
|
|
BUILDLINK_PKGSRCDIR.ocaml-findlib?= ../../devel/ocaml-findlib
|
|
|
|
BUILDLINK_TARGETS+= ocaml-findlib-wrappers ocaml-findlib-ldconf
|
|
|
|
.PHONY: ocaml-findlib-wrappers
|
|
ocaml-findlib-wrappers:
|
|
${RUN} \
|
|
${SED} -e 's|@SH@|'${SH:Q}'|g' \
|
|
-e 's|@OCAML_FINDLIB_PREFIX@|${BUILDLINK_PREFIX.ocaml-findlib}|g' \
|
|
-e 's|@BUILDLINK_DIR@|${BUILDLINK_DIR}|g' \
|
|
< ${.CURDIR}/../../devel/ocaml-findlib/files/ocamlfind.sh \
|
|
> ${BUILDLINK_DIR}/bin/ocamlfind; \
|
|
${CHMOD} +x ${BUILDLINK_DIR}/bin/ocamlfind
|
|
|
|
.PHONY: ocaml-findlib-ldconf
|
|
ocaml-findlib-ldconf:
|
|
${RUN} \
|
|
${CP} ${BUILDLINK_PREFIX.ocaml}/lib/ocaml/ld.conf \
|
|
${BUILDLINK_DIR}/lib/ocaml
|
|
|
|
INSTALLATION_DIRS+= lib/ocaml/site-lib
|
|
.endif # OCAML_FINDLIB_BUILDLINK3_MK
|
|
|
|
BUILDLINK_TREE+= -ocaml-findlib
|