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 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.
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.
Home |
Main Index |
Thread Index |
Old Index