Subject: Re: x11/xorg-imake and bmake -C
To: Vlad D. Markov <>
From: Omer Faruk Sen <>
List: tech-pkg
Date: 03/30/2005 08:45:00
Ok, I got the idea ;) Thanks for help. Pkgsrc seems to be really great.
But   I don't understand why it doesn't get enough attention in open
source world.

Best Regards...

> On Tue, 29 Mar 2005 11:15:07 +0300 (EEST)
> "Omer Faruk Sen" <> wrote:
>> It is Linux x86 and I am sure that I am using bmake:
>> /usr/bin/make -> /usr/pkg/bin/bmake
>> Usage: bmake [-Beiknqrst] [-D variable] [-d flags] [-f makefile ]
>>             [-I directory] [-j max_jobs] [-m directory] [-V variable]
>>             [variable=value] [target ...]
>> As you can see there is no -C switch
>> > On Tue, 29 Mar 2005 10:48:55 +0300 (EEST)
>> > "Omer Faruk Sen" <> wrote:
> <snip>
>> >> I have downloaded pkgsrc-2005Q1 but I have problem with xorg-imake
>> port.
>> >> In the distrib file of this port which is downloaded at some place
>> this
>> >> distrib requires make to have "-C" option. This option is not valid
>> in
>> >> bsd
>> >> make (at least with the one that comes with bootsrap). Has anyone
>> aware
>> >> of
> <snip>
> Old memories of this same problem are rising to the conscious. Ok - imake
> works on variables defined by and for cpp. You have a linux system which
> would normally use the gnu make. For some reason you decided to link make
> to the bsd make. Imake is attempting to configure you to a normal linux
> system.
> The odds are pretty high that if you link make to the gnu make that things
> will work. If you grep for "MAKE" in the config area
> (/usr/X11R6/lib/X11/config), you'll see its set as a variable pointing to
> the normal make for linux. You could change it there to point to gmake
> instead but too many configure scripts (maybe not pkgsrc) will note that
> you have a linux system and expect gnu make.
> On the same thread, I am using pkgsrc on x86 Solaris 10. For the most part
> it works - good work folks. It doesn't work too well when imake is used.
> Not only are the config files for X11 on Solaris 10 broken but I don't
> understand how its possible for all the variable substitutions performed
> by pkgsrc can work when using Imake. For example I can set the buildlink3
> for threads any way I want, in the end I needed to define a variable in an
> Imakefile myself. This was for building xmcd on Solaris 10 x86.

Omer Faruk Sen