Subject: Re: adding X11 package to pkgsrc
To: Mehul Sanghvi <mehul.sanghvi@gmail.com>
From: Jeremy C. Reed <reed@reedmedia.net>
List: netbsd-help
Date: 08/04/2005 12:43:19
On Thu, 4 Aug 2005, Mehul Sanghvi wrote:

>     Essentially, pkgsrc does not have my favourite window manager
> (vtwm), which I would
> like to make part of pkgsrc.  I've got it to the point where it
> downloads the source
> distribution, unpacks it, configures it, and starts to build it.  I
> run into build time errors,
> which I can't seem to understand.
>
>      I get complaints about not being able to find an include file,
> even though the
> -I option points to the correct path for the include file
> (/usr/pkg/include), the include
> file is readable by all, and if I execute the compile command on its
> own, everything
> works just fine.
>
>      Pointers to the right place are much appreciated.

Look to other examples under pkgsrc/wm

Also consider trying pkgsrc/pkgtools/url2pkg -- I have used it many times.

Maybe show us the specific errors and your Makefile and we can look 
closer.

You can also join the pkgsrc-wip project and import your own package there 
and we can test also.

  Jeremy C. Reed

  	  	 	 BSD News, BSD tutorials, BSD links
 	  	 	 http://www.bsdnewsletter.com/