[104965] trunk/dports/sysutils/smart/Portfile

Ryan Schmidt ryandesign at macports.org
Sun Apr 21 00:53:30 PDT 2013


On Apr 21, 2013, at 02:44, Anders F Björklund wrote:

> Ryan Schmidt wrote:
> 
>>> Modified: trunk/dports/sysutils/smart/Portfile
>>> ===================================================================
>>> --- trunk/dports/sysutils/smart/Portfile	2013-04-06 06:55:37 UTC (rev 104964)
>>> +++ trunk/dports/sysutils/smart/Portfile	2013-04-06 09:37:39 UTC (rev 104965)
>>> @@ -44,9 +44,9 @@
>>> test.args-append	PYTHON="${prefix}/bin/python2.4"
>>> 
>>> variant rpm5 description "use rpm5, not rpm4" {
>>> -	# uses RPM 5.0.3, instead of the default RPM 4.4.9
>>> +	# uses RPM 5.2.1, instead of the default RPM 4.4.9
>>> 	depends_lib-delete	lib:librpm:rpm port:python24
>>> -	depends_lib-append	lib:librpm-5.0:rpm50 port:python25
>>> +	depends_lib-append	lib:librpm-5.2:rpm52 port:python25
>>> 	#depends_run		port:py25-gtk
>>> 	build.args-delete	PYTHON="${prefix}/bin/python2.4"
>>> 	build.args-append	PYTHON="${prefix}/bin/python2.5"
>> 
>> This should be using port:-style dependencies, not lib:-style. lib:-style allows libraries installed outside of MacPorts to satisfy the dependency, and this is usually not desirable.
>> 
> 
> If you say so...
> 
> I can think that the bin/lib-style dependencies are quite useful sometimes,
> and by giving up on them you require either duplicating already existing
> system features or complicating license issues such as OpenSSL versus GPL.
> Especially in the contrast to arbitrary "rule" exceptions, like cc or make.

I only meant:

https://trac.macports.org/wiki/FAQ#syslibs



More information about the macports-dev mailing list