Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Apr 2010 08:46:31 +0400
From:      Ruslan Mahmatkhanov <cvs-src@yandex.ru>
To:        freebsd-ports@freebsd.org
Subject:   Re: How to depend on package in EGG?
Message-ID:  <4BCFD4A7.60105@yandex.ru>
In-Reply-To: <4BCF7AF5.5000004@FreeBSD.org>
References:  <4BCF6A12.5030000@yandex.ru> <4BCF7AF5.5000004@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
22.04.2010 02:23, Greg Larkin пишет:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Ruslan Mahmatkhanov wrote:
>> Good day!
>>
>> I want add option in port's Makefile to depend on textproc/py-enchant.
>> But how i can do it? It installs as python egg.
>>
>> .if defined(WITH_ENCHANT)
>> RUN_DEPENDS+=${LOCALBASE}/????/enchant/__init__.py:${PORTSDIR}/textproc/py-enchant
>>
>> .endif
>>
>> What should i wrote instead ???? in left part of this RUN_DEPENDS string?
>>
>> Thanks in advance for answer.
>>
>
> Hi Ruslan,
>
> You can depend on the installed package name, instead of a file in the
> port like so:
>
> RUN_DEPENDS+=	py-enchant>=0:${PORTSDIR}/textproc/py-enchant

Thank you much, Greg! It's what i need.

>
> If you require a specific version, just change ">=0" to the minimum
> version like ">=1.4".
>
> Best regards,
> Greg
> - --
> Greg Larkin
>
> http://www.FreeBSD.org/           - The Power To Serve
> http://www.sourcehosting.net/     - Ready. Set. Code.
> http://twitter.com/sourcehosting/ - Follow me, follow you
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.7 (MingW32)
> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>
> iD8DBQFLz3r00sRouByUApARAmwKAJ915F035jUjUSj3Ap33RdyHyA3JJQCbBVa4
> vk468ZZmDtRq9/IziUz3CMI=
> =R13m
> -----END PGP SIGNATURE-----
>
> _______________________________________________
> freebsd-ports@freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-ports
> To unsubscribe, send any mail to "freebsd-ports-unsubscribe@freebsd.org"
>


-- 
Regards,
Ruslan



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4BCFD4A7.60105>