1
0
mirror of https://git.freebsd.org/ports.git synced 2026-06-02 11:08:52 +00:00

lang/ocaml: unbreak with DOCS=ON after 3fc4fad263 (+)

Commit 3fc4fad263 drops extra '/' from from _DISTDIR
Meanwhile ocaml Makefile stay relies on this extra '/' presence which caused wromg path generation for doc distfile:

install: /portdistfilesocaml-4.14-refman.pdf: No such file or directory

Reported by:	bulk -t
Approved by:	portmgr blanket
This commit is contained in:
Dima Panov
2025-07-29 13:23:15 +03:00
parent 81a0fe2c84
commit d742e53178
+1 -1
View File
@@ -63,6 +63,6 @@ LLD_UNSAFE= yes
post-install-DOCS-on:
${MKDIR} ${STAGEDIR}${DOCSDIR}
(cd ${WRKDIR} && ${COPYTREE_SHARE} htmlman ${STAGEDIR}${DOCSDIR})
${INSTALL_DATA} ${_DISTDIR}${DISTNAME:R}-refman.pdf ${STAGEDIR}${DOCSDIR}
${INSTALL_DATA} ${_DISTDIR}/${DISTNAME:R}-refman.pdf ${STAGEDIR}${DOCSDIR}
.include <bsd.port.mk>