Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 15 Mar 2018 19:19:41 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r464624 - head/devel/ocaml-findlib
Message-ID:  <201803151919.w2FJJfSp059805@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201803151919.w2FJJfSp059805>