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: "John D. Baker" <jdbaker%mylinuxisp.com@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/48487: devel/boost-libs build fails on netbsd-5/i386
Date: Wed, 9 Jul 2014 14:21:48 -0500 (CDT)

 On Tue, 13 May 2014, John D. Baker wrote:
 
 > Following recent commits to "devel/boost-libs" and "meta-pkgs/boost",
 > one needs GCC_REQD+=4.5 (or more, gcc46 is needed for firefox) to build
 > the version found in pkgsrc-2014Q1 on netbsd-5/i386.
 
 As the devel/boost-* packages (via meta-pkgs/boost) now depend on
 "GCC_REQD+=4.5" or later, and I can successfully build
 "devel/boost-{jam,headers,libs}" on netbsd-5/i386 using "GCC_REQD+=4.6", I
 consider this issue to have been dealt with.
 
 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.
 
 -- 
 |/"\ John D. Baker, KN5UKS               NetBSD     Darwin/MacOS X
 |\ / jdbaker[snail]mylinuxisp[flyspeck]com    OpenBSD            FreeBSD
 | X  No HTML/proprietary data in email.   BSD just sits there and works!
 |/ \ GPGkeyID:  D703 4A7E 479F 63F8 D3F4  BD99 9572 8F23 E4AD 1645
 


Home | Main Index | Thread Index | Old Index