pkgsrc-Users archive

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

Re: Errors building new package



On Jan 22, 2017, at 1:55 PM, Thomas Klausner <wiz%NetBSD.org@localhost> wrote:

> On Sun, Jan 22, 2017 at 12:41:31PM -0600, Robert Nestor wrote:
>> This is what I’ve done to get to the error:
>> 
>> cd /usr/pkgsrc/lang
>> mkdir mumps
>> cd mumps
>> url2pkg http://iweb.dl.sourceforge.net/project/mumps/mumps-1.66-src.tar.gz
>> bmake
>> 
>> I see the errors on the bmake line.  I’d done something similar a year or so ago under NetBSD 5.2 and everything was working.  I’d even started making some changes, generating patch files and such without any problems.  But I haven’t worked on this since and decided to try getting back to it.  In the meantime I’d updated to NetBSD 7.0.1, upgraded all my installed packages and the sources I’m trying to work with here were also updated.  So I was forced to start all over when I ran into the current problem.
> 
> 
> You need to add
> USE_TOOLS+=gmake
> to the pkgsrc Makefile, since the program's Makefile only supports GNU make.
> 
> It will fail to link because NetBSD does not provide rfork().
> Thomas

I tried that and got the same errors.  I assume you meant to put this in the Makefile that is generated by url2pkg though so I may not have understood what you suggested.

-bob


Home | Main Index | Thread Index | Old Index