pkgsrc-Bugs archive

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

Re: pkg/50173: devel/libelf BUILDLINK_INCDIRS.libelf?= include/libelf



The following reply was made to PR pkg/50173; it has been noted by GNATS.

From: David Holland <dholland-pbugs%netbsd.org@localhost>
To: gnats-bugs%NetBSD.org@localhost
Cc: 
Subject: Re: pkg/50173: devel/libelf BUILDLINK_INCDIRS.libelf?= include/libelf
Date: Thu, 25 May 2017 05:56:25 +0000

 On Sun, Dec 04, 2016 at 07:45:00AM +0000, David Shao wrote:
  > From: David Shao <davshao%gmail.com@localhost>
  > To: gnats-bugs%netbsd.org@localhost
  > Cc: 
  > Subject: Re: pkg/50173: devel/libelf BUILDLINK_INCDIRS.libelf?= include/libelf
  > Date: Sat, 3 Dec 2016 23:44:57 -0800
  > 
  >  When I bmake configure for graphics/MesaLib and do:
  >  
  >  grep -R gelf .
  >  
  >  I still get:
  >  
  >  ./work/mesa-11.2.2/src/gallium/state_trackers/clover/llvm/invocation.cpp:#include
  >  <gelf.h>
  >  
  >  Is it correct that for graphics/MesaLib and that alone, there is the
  >  fix in its options.mk of:
  >  
  >  .include "../../devel/libelf/buildlink3.mk"
  >  CPPFLAGS+=        -I${BUILDLINK_PREFIX.libelf}/include/libelf
  >  
  >  I just don't see what the problem is with altering libelf's
  >  buildlink3.mk to actually reflect what its pkgconf *.pc file also
  >  claims to be the correct include path.
 
 Neither do I.
 
  >  It astounds me how hard the work is to NOT make things work out of the
  >  box.  Can't use the pkgconf *.pc whose very purpose is to tell other
  >  packages where to find stuff.  Can't alter the buildlink3.mk to
  >  reflect what the *.pc file says.
 
 Well, the commit was an "interim fix".
 
 Patching MesaLib to use pkg-config would take work :-)
 
 -- 
 David A. Holland
 dholland%netbsd.org@localhost
 


Home | Main Index | Thread Index | Old Index