svn commit: r464624 - head/devel/ocaml-findlib

Bryan Drewery bdrewery at FreeBSD.org
Thu Mar 15 19:19:42 UTC 2018


Author: bdrewery
Date: Thu Mar 15 19:19:41 2018
New Revision: 464624
URL: https://svnweb.freebsd.org/changeset/ports/464624

Log:
  Fix build without TOOLBOX option

Modified:
  head/devel/ocaml-findlib/Makefile

Modified: head/devel/ocaml-findlib/Makefile
==============================================================================
--- head/devel/ocaml-findlib/Makefile	Thu Mar 15 18:54:58 2018	(r464623)
+++ head/devel/ocaml-findlib/Makefile	Thu Mar 15 19:19:41 2018	(r464624)
@@ -37,13 +37,15 @@ 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}


More information about the svn-ports-head mailing list