Using ">" sign in LIB_DEPENDS

Sunpoet Hsieh sunpoet at sunpoet.net
Mon Jul 19 17:17:38 UTC 2010


On Tue, Jul 20, 2010 at 12:06 AM, Ruslan Mahmatkhanov <cvs-src at yandex.ru> wrote:
> Hi.
>
> Using ">" sign in LIB_DEPENDS in port's Makefile triggers this error:
> Syntax error: redirection unexpected
> *** Error code 2
>
> While defined in BUILD_DEPENDS and RUN_DEPENDS works fine.
> Is this expected behaviour?
>
> Test sample:
>
> LIB_DEPENDS=    rubygem-dnsruby>=1.47:${PORTSDIR}/dns/rubygem-dnsruby
>
>
> --
> Regards,
> Ruslan

Hi,

Yes, it is the correct result.
Please read Porter's Handbook 5.7 for details.
http://www.freebsd.org/doc/en/books/porters-handbook/makefile-depend.html

Regards,
Sunpoet


More information about the freebsd-ports mailing list