svn commit: r449703 - in head/graphics: xpdf xpdf4

Mathieu Arnold mat at FreeBSD.org
Wed Sep 13 08:47:28 UTC 2017


Le 12/09/2017 à 21:04, Cy Schubert a écrit :
> -	${LN} -sf ${PREFIX}/libexec/xpdf/xpdf ${STAGEDIR}${PREFIX}/bin/xpdf
> +	@cd ${STAGEDIR}${PREFIX}; \
> +	${LN} -sf libexec/xpdf/xpdf bin/xpdf
>  
>
> -		${LN} -sf ${PREFIX}/libexec/xpdf/xpdf ${STAGEDIR}${PREFIX}/bin/xpdf
> +		@cd ${STAGEDIR}${PREFIX}; \
> +		${LN} -sf libexec/xpdf/xpdf bin/xpdf
> +

Good example of when not to use ${LN} because you will get it wrong.
(Hint, the new version you committed is wrong, the previous was bad but
working.)

Please read:
https://www.freebsd.org/doc/en/books/porters-handbook/special.html#staging-symlink

-- 
Mathieu Arnold


-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 949 bytes
Desc: OpenPGP digital signature
URL: <http://lists.freebsd.org/pipermail/svn-ports-all/attachments/20170913/24ccbea7/attachment.sig>


More information about the svn-ports-all mailing list