Subject: Re: modular-xorg installation fails on Dragonfly 1.8.1-RELEASE with pkgsrc-2007Q1
To: Jeremy C. Reed <reed@reedmedia.net>
From: Siju George <sgeorge.ml@gmail.com>
List: pkgsrc-users
Date: 05/03/2007 01:44:56
On 5/2/07, Jeremy C. Reed <reed@reedmedia.net> wrote:
> > 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.
>

there is no X11_TYPE line in this file of mine. see

================================================
# Example /usr/pkg/etc/mk.conf file produced by bootstrap-pkgsrc
# Sun Apr 29 18:04:04 IST 2007

.ifdef BSD_PKG_MK       # begin pkgsrc settings

PKG_DBDIR=              /var/db/pkg
LOCALBASE=              /usr/pkg
VARBASE=                /var
PKG_TOOLS_BIN=          /usr/pkg/sbin
PKGMANDIR=              man

FETCH_CMD=                      /usr/bin/ftp
TOOLS_PLATFORM.pax?=            /usr/pkg/bin/pax
TOOLS_PLATFORM.tar?=            /usr/pkg/bin/tar

.endif                  # end pkgsrc settings
============================================


> 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)
>

I get the same lines as above except for the begining "/home/reed/pkg"
I have "/usr/pkg"  .

===============================================
/usr/pkg/share/mk/bsd.own.mk:.elif exists(/usr/pkg/etc/mk.conf )
/usr/pkg/share/mk/bsd.own.mk:.elif exists(/etc/mk.conf)
============================================


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

no not this line on my system.
 it is qemu-0.8.2p4 on OpenBSD 4.1-Current/i386

> (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.)
>

alright :-)
Now where do we go from here?

Also where do I get the info that for a certain package I need to
configure the mk.conf file and so on? Is there any file in pkgsrc that
i should read before compiling the package by make?


Thankyou so much once again :-)

Kind regards

Siju