Date: Tue, 27 Aug 2019 09:01:43 +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: r509996 - head/Mk Message-ID: <201908270901.x7R91h0p078809@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Tue Aug 27 09:01:43 2019 New Revision: 509996 URL: https://svnweb.freebsd.org/changeset/ports/509996 Log: Factorize if statements in fake-pkg Modified: head/Mk/bsd.port.mk Modified: head/Mk/bsd.port.mk ============================================================================== --- head/Mk/bsd.port.mk Tue Aug 27 08:52:28 2019 (r509995) +++ head/Mk/bsd.port.mk Tue Aug 27 09:01:43 2019 (r509996) @@ -4639,12 +4639,9 @@ STAGE_ARGS= -i ${STAGEDIR} fake-pkg: .if defined(INSTALLS_DEPENDS) @${ECHO_MSG} "===> Registering installation for ${PKGNAME} as automatic" -.else - @${ECHO_MSG} "===> Registering installation for ${PKGNAME}" -.endif -.if defined(INSTALLS_DEPENDS) @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_REGISTER} -d ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .else + @${ECHO_MSG} "===> Registering installation for ${PKGNAME}" @${SETENV} ${PKG_ENV} FORCE_POST="${_FORCE_POST_PATTERNS}" ${PKG_REGISTER} ${STAGE_ARGS} -m ${METADIR} -f ${TMPPLIST} .endif @${RM} -r ${METADIR}
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201908270901.x7R91h0p078809>