On 5/20/2013 16:47, Loïc BLOT wrote:
I agree with you, this works on FreeBSD, but in DragonFly it seems this
don't work, i don't know why, it seems this is the same file...

Maybe this is a stupid question, but is your dports repository fully up to date?

"git log -1" from /usr/dports should return something like "Remove games/unknown-horizons: depends on removed fife" if it is.

The reason this is important is that the "USES+=" notation from FreeBSD is brand new. Older versions of makefiles would break.


Another problem is also when we want to search a port. On FreeBSD we can
do it with whereis <portname> or going to /usr/ports and do a make
search name=<portname>.
In DragonFly the whereis doens't work, why not, but make search failed
because of missing files (look at the attachment). Then how can i do a
make search ?

It doesn't work because DragonFly doesn't produce an index. We probably could if I move our version of portsnap into dports but as of now we haven't seen a need (I think FreeBSD even wants to eliminate the INDEX because it's so fragile but I need confirmation on that.).

I'd just use "find", e.g. "find /usr/dports -type d -name <PORTNAME>"
That's pretty quick.

John

Reply via email to