Mark,

Paul Cunningham wrote:
> Mark Fenwick wrote:
> 
>>>
>>> The content of your new 'depend' file looks like the default set (I 
>>> think), if so why not just use the default depend?
>>
>>
>> Interesting ...
>>
>> So I'm doing some stuff in for sfwnv too and I just created my own 
>> depend file. After seeing this e-mail, I checked the depend files in 
>> usr/src/pkgdefs and a great number of them are exactly the same as the 
>> one in common_files :-)
>>
>> As far as I can tell none of the prototype files use the !search 
>> (command ?)
>>
>> Perhaps they should, do you have any examples ?
> 
> 
> If I understand you correctly, its just a matter for deleting the 
> 'depend' file from the checkedout pkg dir (ie. from the src repository) 
> and then adding
>     DATAFILES= depend
> into the pkg's Makefile.

example, see 
http://cr.opensolaris.org/~zk194757/libdvdnav/usr/src/pkgdefs/SUNWlibdvdnav/Makefile.html

> 
> But remember, in a built ws if a pkg doesn't have its own 'depend' file 
> the build process copies the one from common into the pkg dir (that's if 
> I remember correctly). So that might be why there are lots the same as 
> the common one, so don't get confused by that.
> 
> Someone please correct me if I am wrong
> 
> Paul

-- 
----------------------------------------------------------------------
Paul Cunningham
Software Engineer
Tadpole Computer Products

Reply via email to