pkgsrc-Users archive

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

*solved* Re: GCC_REQD not working (pkgsrc issue?) on NetBSD 6_Stable



> On Mon, May 22, 2017 at 06:28:59PM -0000, yancm%sdf.org@localhost wrote:
>> Apparently putting GCC_REQD+=4.7 (or 4.8) in a pkgsrc package Makefile
>> is
>> supposed cause builds to use a particular version of gcc.
>>
>> This does not appear to work for me...
>>
>> Can anyone give me some pointers (things to try/investigate) to make
>> this
>> work?
>>
>> the original chain is below, but I seem to be stuck on an unrelated
>> problem so am starting a different subject...
>> ------ Makefile excerpt -------
>> # $NetBSD: Makefile,v 1.66 2013/10/29 19:05:23 drochner Exp $
>>
>> .include "../../print/poppler/Makefile.common"
>>
>> COMMENT=                PDF rendering library
>> MAINTAINER=             reed%reedmedia.net@localhost
>>
>> GCC_REQD=               4.8
>> USE_TOOLS+=             gmake gcc
>
> Ah: poppler/Makefile.common includes compiler.mk. Try setting
>
> GCC_REQD+=4.8
>
> above .include poppler/Makefile.common

YES!  That worked, thank you!



Home | Main Index | Thread Index | Old Index