On 12/11/11 10:14, Rich Burridge wrote:
Hi,
I've seen two different people on two different lists trip over this
one recently, so let's fix it.
Could I please get a code review for my fix for:
7088570 gcc packages should have dependencies on system/header
http://monaco.us.oracle.com/detail.jsf?cr=7088570
Webrev is at:
http://jurassic.us.oracle.com/~richb/7088570-v1/
LGTM, though I'm sure you'll get more opinions on Monday.
We could fix this with:
depend fmri=pkg:/system/header type=require
(which is the approach I took), or with something like:
depend fmri=__TBD pkg.debug.depend.file=usr/include/stdio.h type=require
I prefer the first, since it's unversioned, while the second is likely to
generate a dependency on the version installed on the build machine, which
is unnecessarily restrictive - any version of system/header should be
sufficient to install the base C language header files, and we shouldn't
force an ON upgrade on users who want gcc fixes.
--
-Alan Coopersmith- [email protected]
Oracle Solaris Platform Engineering: X Window System
_______________________________________________
userland-discuss mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/userland-discuss