pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: problem with configure and PKG_CHECK_MODULES



On Sat, Jun 10, 2017 at 08:35:46PM +0100, Dave Tyson wrote:
> I have persevered and after a few false starts I have the package
> working with a usb camera attached as /dev/video0.

Great!

> I don't have a login for pkg-wip so have enclosed a gzipped tar file 
> of the current snapshot if so you would like to update wip files.

I'm happy to add you to the wip committers -- just send me an ssh key.
More details are at http://pkgsrc.org/wip/users/

Then you can commit this yourself and it'll be easier to work with
others on the package.

> I will eventually feed the patches back to the developers once I 
> have done some more testing and maybe tried the database bits.
> At present when it builds on NetBSD is thinks its building on 
> Linux - mainly due to the v4l stuff. I think I can live with that.

NetBSD's v4l interface was designed by purpose to match Linux' so that
porting software is easier, so that's fine in my eyes.

> There 
> is a startup file for FreeBSD which will probably just work, but I
> couldn't work out how you got put in the right place.

Just manually install it in ${PREFIX}/share/examples/rc.d It's the
admin's task to install it, we don't want to autostart services in
pkgsrc just because a package gets installed.

> pkglint 
> complains about the config file in the PLIST, but I struggled to 
> understand how to fix it. I may get around to testing it on arm 
> and sun architectures, but for now its probably i386/amd64.

Install the config manually into ${PREFIX}/share/examples/motion and then add CONF_FILES entries for the file(s).

"make help topic=CONF_FILES" will give you more details.

> Thanks for your help with the configure stuff - I am slowly learning, 
> but its a mountain to climb!

That's true. I'm happy to help though :)
 Thomas


Home | Main Index | Thread Index | Old Index