pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/mk ocaml.mk: try to fix PKGMANDIR support



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a8eae0d42768
branches:  trunk
changeset: 376692:a8eae0d42768
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Tue Apr 12 11:27:13 2022 +0000

description:
ocaml.mk: try to fix PKGMANDIR support

diffstat:

 mk/ocaml.mk |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r f7e1b36bea97 -r a8eae0d42768 mk/ocaml.mk
--- a/mk/ocaml.mk       Tue Apr 12 10:14:19 2022 +0000
+++ b/mk/ocaml.mk       Tue Apr 12 11:27:13 2022 +0000
@@ -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 @@
 #
 # 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 @@
                -destdir ${DESTDIR} \
                -prefix ${PREFIX} \
                -libdir ${PREFIX}/${OCAML_SITELIBDIR} \
+               -mandir ${PREFIX}/${PKGMANDIR} \
                -docdir ${OCAML_TOPKG_DOCDIR}/$$i \
                -stublibsdir ${PREFIX}/${OCAML_SITELIBDIR}/stublibs \
                -bindir ${PREFIX}/bin \



Home | Main Index | Thread Index | Old Index