Subject: Re: modular-xorg installation fails on Dragonfly 1.8.1-RELEASE with
To: Siju George <sgeorge.ml@gmail.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: pkgsrc-users
Date: 05/02/2007 07:49:55
> xorg-libs>=6.9.0nb2:../../x11/xorg-libs
> 
> > bmake show-var VARNAME=X11_TYPE
> > 
> 
> xorg
> 
> Thats a bit unfair! because see my mk.conf I had changed it as you said.
> did a "bmake clean-depends clean" too as you said before compiling.
> 
> ========================================
> 
> # Generated from nrelease
> #
> # $DragonFly: src/nrelease/mk.conf.pkgsrc,v 1.2 2005/12/22 23:23:32 dillon Exp
> $
> .ifdef BSD_PKG_MK
> 
> PKG_DBDIR=/var/db/pkg
> LOCALBASE=/usr/pkg
> VARBASE=/var
> FETCH_CMD=/usr/pkg/bin/ftp
> PAX=/usr/pkg/bin/pax
> X11_TYPE=modular

I am guessing that this mk.conf is not being used. Where is it? I think 
the default for bootstrap is /usr/pkg/etc/mk.conf.

I don't know how to get bmake to tell you. But this may help:

strings `which bmake` | grep share/mk | xargs grep -r mk.conf

$ strings `which bmake` | grep share/mk | xargs grep -r mk.conf | egrep 'if exists|MAKECONF'

(all one line)

On one of my systems it returns:

/home/reed/pkg/share/mk/bsd.own.mk:.elif exists(/home/reed/pkg/etc/mk.conf)
/home/reed/pkg/share/mk/bsd.own.mk:.elif exists(/etc/mk.conf)

And another:

/usr/share/mk/bsd.own.mk:MAKECONF?=     /etc/mk.conf

(The above is just an idea to figure out where your mk.conf should be at. 
If that is the problem, let's make sure it is clear in the documentation.)

  Jeremy C. Reed