mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Fix build without TOOLBOX option
This commit is contained in:
parent
7addf7523c
commit
f27db3ea7a
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=464624
@ -37,14 +37,16 @@ TOOLBOX_RUN_DEPENDS= labltk:x11-toolkits/ocaml-labltk
|
||||
TOOLBOX_BUILD_DEPENDS= ${TOOLBOX_RUN_DEPENDS}
|
||||
|
||||
post-install:
|
||||
${CHMOD} 755 ${STAGEDIR}${PREFIX}/bin/ocamlfind \
|
||||
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/findlib/make_wizard
|
||||
cd ${STAGEDIR}${PREFIX} && \
|
||||
${STRIP_CMD} bin/ocamlfind \
|
||||
${OCAML_SITELIBDIR}/findlib/findlib.cmxs \
|
||||
${OCAML_SITELIBDIR}/findlib/findlib_dynload.cmxs \
|
||||
${OCAML_SITELIBDIR}/findlib/findlib_top.cmxs
|
||||
|
||||
post-install-TOOLBOX-on:
|
||||
${CHMOD} 755 ${STAGEDIR}${PREFIX}/bin/ocamlfind \
|
||||
${STAGEDIR}${PREFIX}/${OCAML_SITELIBDIR}/findlib/make_wizard
|
||||
|
||||
post-install-DOCS-on:
|
||||
@${MKDIR} ${STAGEDIR}${DOCSDIR}
|
||||
cd ${WRKSRC}/doc && ${COPYTREE_SHARE} \* ${STAGEDIR}${DOCSDIR} \
|
||||
|
Loading…
Reference in New Issue
Block a user