pkgsrc-Bugs archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: pkg/48487: devel/boost-libs build fails on netbsd-5/i386
The following reply was made to PR pkg/48487; it has been noted by GNATS.
From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc:
Subject: Re: pkg/48487: devel/boost-libs build fails on netbsd-5/i386
Date: Sun, 23 Nov 2014 06:51:47 +0000
On Wed, Jul 09, 2014 at 07:25:00PM +0000, John D. Baker wrote:
> One interesting thing--perhaps I'm not as 'make'-savvy as I once was,
> I tried to use the following to simplify the list of packages for which
> I need to override "GCC_REQD" to avoid needless duplication:
>
> .if "${PKGPATH}" == "multimedia/libvpx" || \
> !empty(PKGPATH:Mdevel/boost-*) || \
> "${PKGPATH}" == "meta-pkgs/boost"
> GCC_REQD+=4.6
> .endif
>
> This sort-of works--there are no complaints about malformed conditionals.
> "lang/gcc45" doesn't show up in the nested list of dependencies for the
> target package, yet somehow the installed "lang/gcc46" isn't detected and
> the system proceeds to start building "lang/gcc45" anyway.
>
> If I change it back to check explicit equality of ${PKGPATH} with each
> of the "devel/boost-{jam,headers,libs}" packages, it works properly.
> Not sure what I'm missing.
That looks to me like a make bug; or possibly, if you put the new
conditional in a different place, maybe PKGPATH isn't set yet there.
If you take the quotes off ${PKGPATH}, does it complain about a
malformed conditional?
--
David A. Holland
dholland%netbsd.org@localhost
Home |
Main Index |
Thread Index |
Old Index