pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/devel/ocaml-dune
Module Name: pkgsrc
Committed By: maya
Date: Wed Mar 25 03:19:00 UTC 2026
Modified Files:
pkgsrc/devel/ocaml-dune: Makefile
Log Message:
ocaml-dune: Fix install with custom PKGMANDIR.
Seen in jperkin's darwin bulk builds.
>From riastradh
To generate a diff of this commit:
cvs rdiff -u -r1.19 -r1.20 pkgsrc/devel/ocaml-dune/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/devel/ocaml-dune/Makefile
diff -u pkgsrc/devel/ocaml-dune/Makefile:1.19 pkgsrc/devel/ocaml-dune/Makefile:1.20
--- pkgsrc/devel/ocaml-dune/Makefile:1.19 Sun Mar 1 12:38:23 2026
+++ pkgsrc/devel/ocaml-dune/Makefile Wed Mar 25 03:19:00 2026
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.19 2026/03/01 12:38:23 gdt Exp $
+# $NetBSD: Makefile,v 1.20 2026/03/25 03:19:00 maya Exp $
PKGREVISION= 1
.include "Makefile.common"
@@ -22,11 +22,19 @@ CONFIGURE_ARGS= --libdir ${PREFIX}/lib/
BUILD_TARGET= release
MAKE_ENV+= MAKE_JOBS=${MAKE_JOBS:U1}
-INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${OCAML_SITELIBDIR}/dune
+INSTALLATION_DIRS+= bin ${PKGMANDIR}/man1 ${PKGMANDIR}/man5 ${OCAML_SITELIBDIR}/dune
OCAML_USE_FINDLIB= yes
OCAML_FINDLIB_DIRS= dune
+# The configure script has a `--mandir' option, but it doesn't seem to be respected.
+post-install:
+ @${STEP_MSG} Fixing man page installation directory
+.for section in man1 man5
+ ${RUN} ${MV} ${DESTDIR}${PREFIX}/man/${section}/* \
+ ${DESTDIR}${PREFIX}/${PKGMANDIR}/${section}/ || ${TRUE}
+.endfor
+
.include "../../lang/ocaml/ocaml.mk"
.include "../../mk/bsd.pkg.mk"
Home |
Main Index |
Thread Index |
Old Index