Date: Thu, 22 Oct 2020 12:48:20 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r552968 - head/Mk Message-ID: <202010221248.09MCmK4V062357@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Thu Oct 22 12:48:20 2020 New Revision: 552968 URL: https://svnweb.freebsd.org/changeset/ports/552968 Log: Use @rmempty While here, prefer appending to the PLIST_FILES macro rather than creating a custom target Modified: head/Mk/bsd.ocaml.mk Modified: head/Mk/bsd.ocaml.mk ============================================================================== --- head/Mk/bsd.ocaml.mk Thu Oct 22 12:46:48 2020 (r552967) +++ head/Mk/bsd.ocaml.mk Thu Oct 22 12:48:20 2020 (r552968) @@ -181,12 +181,7 @@ ocaml-ldconfig: .endif .if defined(USE_OCAML_WASH) -. if !target(ocaml-wash) -_USES_install+= 745:ocaml-wash -ocaml-wash: -# If ld.conf is empty - @${ECHO_CMD} "@postunexec if [ ! -s %D/${OCAML_LDCONF} ]; then ${RM} %D/${OCAML_LDCONF}; fi || true" >> ${TMPPLIST} -. endif +PLIST_FILES+= "@rmempty ${OCAML_LDCONF}" .endif .endif #!defined(OCAML_include)
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202010221248.09MCmK4V062357>