WANT_GNOME Causes Automatic Dependencies
A.J. Kehoe IV (Nanoman)
nanoman at nanoman.ca
Thu Aug 30 21:43:25 UTC 2012
Jeremy Messenger wrote:
>On Thu, Aug 30, 2012 at 1:22 PM, A.J. Kehoe IV (Nanoman)
><nanoman at nanoman.ca> wrote:
>> WANT_GNOME causes automatic dependencies. This causes problems for port and
>> package management, as described in the FreeBSD Porter's Handbook on the
>> "Dependencies" page under "Problems Caused by Automatic Dependencies":
>>
>> http://www.freebsd.org/doc/en_US.ISO8859-1/books/porters-handbook/makefile-depend.html
>
>I agree, I have got rid of it in bsd.mate.mk.
Awesome! Automatic dependencies have been causing me grief for about a decade, so this makes me happy.
>> To solve this problem, I'm creating a new port called misc/gnome-components.
>> This "meta-port" will define all the optional dependencies from
>> Mk/bsd.gnome.mk as OPTIONS. In Mk/bsd.gnome.mk, the whole automatic
>> dependencies section will be replaced with one line:
>>
>> RUN_DEPENDS+= gnome-components:${PORTSDIR}/misc/gnome-components
>>
>> I hope to have this finished by tomorrow (2012-08-31). If anyone has any
>> suggestions or alternative solutions, I'm very interested to hear what you
>> have to say.
>
>But.. I disagree with the method you are doing there. You can't just
>do a sweep, because there is actually a few that do not provide flag
>option to disable it. You need to do it by manual and remove the
>HAVE_GNOME or convert it to OPTIONS if it allows you to. I prefer
>anyone to do a real fix/clean instead of band-aid
>(misc/gnome-components).
>
>Cheers,
>Mezz
I'm not fond of my misc/gnome-components method either, so any alternative ideas are very welcome. All I've done thus far is created a Makefile with an OPTIONS list for the 97 components from bsd.gnome.mk.
What do you suggest for a real fix/clean? Based on your response, the ideal fix has at least two attributes:
1. No automatic dependencies.
2. An option to disable specific components.
I'm trying to get this issue resolved as quickly as possible, but I want the fix to be done well. Again, any suggestions or alternative solutions are welcome.
--
A.J. Kehoe IV (Nanoman) | /"\ ASCII Ribbon Campaign
Nanoman's Company | \ / - No HTML/RTF in E-mail
E-mail: nanoman at nanoman.ca | X - No proprietary attachments
WWW: http://www.nanoman.ca/ | / \ - Respect for open standards
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3855 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-gnome/attachments/20120830/83e49240/smime.bin
More information about the freebsd-gnome
mailing list