summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2022-04-12 11:27:13 +0000
committertnn <tnn@pkgsrc.org>2022-04-12 11:27:13 +0000
commit789738c68429f53f37142362d2fec7e3ceab2f0b (patch)
tree03ee15323b88745ab198e9253e8aa1d4a3ce13e2 /mk
parent956fc8e76d6f33fe65d0fddb3afb97c43e1b4168 (diff)
downloadpkgsrc-789738c68429f53f37142362d2fec7e3ceab2f0b.tar.gz
ocaml.mk: try to fix PKGMANDIR support
Diffstat (limited to 'mk')
-rw-r--r--mk/ocaml.mk5
1 files changed, 3 insertions, 2 deletions
diff --git a/mk/ocaml.mk b/mk/ocaml.mk
index 09e5b421ab6..d00113c8dce 100644
--- a/mk/ocaml.mk
+++ b/mk/ocaml.mk
@@ -1,4 +1,4 @@
-# $NetBSD: ocaml.mk,v 1.32 2022/03/03 03:32:28 mrg Exp $
+# $NetBSD: ocaml.mk,v 1.33 2022/04/12 11:27:13 tnn Exp $
#
# This Makefile fragment handles the common variables used by OCaml packages.
#
@@ -246,7 +246,7 @@ do-build:
#
# opam targets
#
-.if ${OCAML_USE_OPAM} == "yes"
+.if ${OCAML_USE_OPAM} == "yes"
do-install:
${RUN} for i in ${OPAM_INSTALL_FILES}; do \
@@ -256,6 +256,7 @@ do-install:
-destdir ${DESTDIR} \
-prefix ${PREFIX} \
-libdir ${PREFIX}/${OCAML_SITELIBDIR} \
+ -mandir ${PREFIX}/${PKGMANDIR} \
-docdir ${OCAML_TOPKG_DOCDIR}/$$i \
-stublibsdir ${PREFIX}/${OCAML_SITELIBDIR}/stublibs \
-bindir ${PREFIX}/bin \