pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/ocaml-dune ocaml-dune: honour PKGMANDIR
details: https://anonhg.NetBSD.org/pkgsrc/rev/aaa927eb72c6
branches: trunk
changeset: 375858:aaa927eb72c6
user: tnn <tnn%pkgsrc.org@localhost>
date: Mon Mar 28 17:08:09 2022 +0000
description:
ocaml-dune: honour PKGMANDIR
diffstat:
devel/ocaml-dune/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (21 lines):
diff -r ee888e55b600 -r aaa927eb72c6 devel/ocaml-dune/Makefile
--- a/devel/ocaml-dune/Makefile Mon Mar 28 15:59:22 2022 +0000
+++ b/devel/ocaml-dune/Makefile Mon Mar 28 17:08:09 2022 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.11 2022/03/01 09:33:09 jaapb Exp $
+# $NetBSD: Makefile,v 1.12 2022/03/28 17:08:09 tnn Exp $
.include "Makefile.common"
@@ -34,6 +34,11 @@
dune \
dune-private-libs
+SUBST_CLASSES+= mandir
+SUBST_STAGE.mandir= pre-configure
+SUBST_FILES.mandir= src/dune_engine/install.ml
+SUBST_SED.mandir= -e 's,sprintf "man%c",sprintf "${PKGMANDIR}%c",'
+
post-build:
${RUN} cd ${WRKSRC} && ./dune.exe build -p dune,dune-action-plugin,dune-build-info,dune-glob,dune-private-libs @install
Home |
Main Index |
Thread Index |
Old Index