Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 7 Feb 2018 22:15:05 -0800
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r461196 - head/Mk
Message-ID:  <b0ad0df5-8c39-279f-1a90-689e22bff83f@FreeBSD.org>
In-Reply-To: <201802080552.w185q6Lq090562@repo.freebsd.org>
References:  <201802080552.w185q6Lq090562@repo.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 4880 and 3156)
--d6dFhDnZ6Nswt5lxiBzL5fyHHvr6V38XO
Content-Type: multipart/mixed; boundary="cKBmj8XF2C8oHSKQz1cdeznLzbearXz99";
 protected-headers="v1"
From: Bryan Drewery <bdrewery@FreeBSD.org>
To: ports-committers@freebsd.org, svn-ports-all@freebsd.org,
 svn-ports-head@freebsd.org
Message-ID: <b0ad0df5-8c39-279f-1a90-689e22bff83f@FreeBSD.org>
Subject: Re: svn commit: r461196 - head/Mk
References: <201802080552.w185q6Lq090562@repo.freebsd.org>
In-Reply-To: <201802080552.w185q6Lq090562@repo.freebsd.org>

--cKBmj8XF2C8oHSKQz1cdeznLzbearXz99
Content-Type: text/plain; charset=utf-8
Content-Language: en-US
Content-Transfer-Encoding: quoted-printable

On 2/7/18 9:52 PM, Bryan Drewery wrote:
> Author: bdrewery
> Date: Thu Feb  8 05:52:06 2018
> New Revision: 461196
> URL: https://svnweb.freebsd.org/changeset/ports/461196
>=20
> Log:
>   Fix editors/vim-tiny hanging on reading stdin during generate-plist.
>  =20
>   test -f "" is true so we need to only test if $PLIST is not empty.
>  =20

I meant 'test -f' is true, not 'test -f ""'.

>   Approved by:	portmgr (implicit)
>=20
> Modified:
>   head/Mk/bsd.port.mk
>=20
> Modified: head/Mk/bsd.port.mk
> =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D
> --- head/Mk/bsd.port.mk	Thu Feb  8 01:13:21 2018	(r461195)
> +++ head/Mk/bsd.port.mk	Thu Feb  8 05:52:06 2018	(r461196)
> @@ -4471,9 +4471,11 @@ generate-plist: ${WRKDIR}
>  	@for file in ${PLIST_FILES}; do \
>  		${ECHO_CMD} $${file} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=3D=
/%%!/} >> ${TMPPLIST}; \
>  	done
> +.if !empty(PLIST)
>  	@if [ -f ${PLIST} ]; then \
>  		${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=3D/%%!/} ${PLIST} >> ${T=
MPPLIST}; \
>  	fi
> +.endif
> =20
>  .for dir in ${PLIST_DIRS}
>  	@${ECHO_CMD} ${dir} | ${SED} ${PLIST_SUB:S/$/!g/:S/^/ -e s!%%/:S/=3D/=
%%!/} -e 's,^,@dir ,' >> ${TMPPLIST}
>=20


--=20
Regards,
Bryan Drewery


--cKBmj8XF2C8oHSKQz1cdeznLzbearXz99--

--d6dFhDnZ6Nswt5lxiBzL5fyHHvr6V38XO
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: OpenPGP digital signature
Content-Disposition: attachment; filename="signature.asc"

-----BEGIN PGP SIGNATURE-----

iQEzBAEBCAAdFiEE+Rc8ssOq6npcih8JNddxu25Gl88FAlp76uoACgkQNddxu25G
l89cDQf9EY5sshW5rvN37VkokEkRANHWObDh+SyMC36UquUq1EXjSI/GEjtOtPKz
2j3sdvM2m5XcMgm4o9ynQbXeFzTYWZPdxWmEe8ZsuO+KROnvvAk1qX9SRtYgAQXG
/9sqLMt6IaEi8mNeucesV/ZJXv1EDg+kGUjoInPoBpfxGT00Gjpibfi8vKAFA5YT
8UqGsButB7jI2Xb/RAizePyCDUJy3m/FHLmu1aDPjQF9BV71ryHRF183n2P6ipNA
3KJVQGSZ3k0Da8ESAwtap9Nv/Gp8NG9zXp/IqhOvsvUoQrn04spozti9hSPFg4+e
3zf4nABFX35fttsdLG5yCT1DvOYwhA==
=eQn9
-----END PGP SIGNATURE-----

--d6dFhDnZ6Nswt5lxiBzL5fyHHvr6V38XO--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b0ad0df5-8c39-279f-1a90-689e22bff83f>