svn commit: r397941 - head/Mk

Baptiste Daroussin bapt at FreeBSD.org
Sat Sep 26 08:41:46 UTC 2015


Author: bapt
Date: Sat Sep 26 08:41:45 2015
New Revision: 397941
URL: https://svnweb.freebsd.org/changeset/ports/397941

Log:
  Explicitly run the ocaml command in post (de)installation

Modified:
  head/Mk/bsd.ocaml.mk

Modified: head/Mk/bsd.ocaml.mk
==============================================================================
--- head/Mk/bsd.ocaml.mk	Sat Sep 26 08:39:49 2015	(r397940)
+++ head/Mk/bsd.ocaml.mk	Sat Sep 26 08:41:45 2015	(r397941)
@@ -177,9 +177,9 @@ OCAML_LDLIBS?=	${OCAML_SITELIBDIR}/${POR
 . if !target(ocaml-ldconfig)
 ocaml-ldconfig:
 .  for LIB in ${OCAML_LDLIBS}
-	@${ECHO_CMD} "@exec ${ECHO_CMD} "%D/${LIB}" >> %D/${OCAML_LDCONF}" \
+	@${ECHO_CMD} "@postexec ${ECHO_CMD} "%D/${LIB}" >> %D/${OCAML_LDCONF}" \
 		>> ${TMPPLIST}
-	@${ECHO_CMD} "@unexec ${SED} -i \"\" -e '/${LIB:S#/#\/#g}/d' %D/${OCAML_LDCONF}"  >> ${TMPPLIST}
+	@${ECHO_CMD} "@postunexec ${SED} -i \"\" -e '/${LIB:S#/#\/#g}/d' %D/${OCAML_LDCONF}"  >> ${TMPPLIST}
 .  endfor
 . endif
 .endif
@@ -188,7 +188,7 @@ ocaml-ldconfig:
 . if !target(ocaml-wash)
 ocaml-wash:
 #	If ld.conf is empty
-	@${ECHO_CMD} "@unexec if [ ! -s %D/${OCAML_LDCONF} ]; then ${RM} -f %D/${OCAML_LDCONF}; fi || true" >> ${TMPPLIST}
+	@${ECHO_CMD} "@postunexec if [ ! -s %D/${OCAML_LDCONF} ]; then ${RM} -f %D/${OCAML_LDCONF}; fi || true" >> ${TMPPLIST}
 . endif
 .endif
 


More information about the svn-ports-all mailing list