pkgsrc-Users archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
buildlink3 + pkg-config (libevent-related)
I'm packaging a program that depends on devel/libevent, which comes
with three .pc files (libevent{,_openssl,_pthreads}.pc), all of
which end up in /usr/pkg/lib/pkgconfig as they should.
Now when I include libevent's buildlink3.mk and make wrapper,
only libevent.pc ends up being symlinked into the working
directory.
The configure stage of the program I'm packaging then runs
pkg-config [...] libevent_pthreads, which fails due to
libevent_pthreads.pc not being present.
I can manually symlink it there, between the 'wrapper' and the
'configure' stage, which causes the configure stage to succeed,
but obviously this isn't the way to go.
Is this a bug in the libevent package, or does my package need
to explicitly state that it wants all of libevent's .pc files?
(Additionally the non-pthreads libevent.pc gets appended to during
configuration (by the 'override-libevent-pkgconfig'-target in
devel/libevent/builtin.mk), corrupting the file in the process
so that another attempt to 'make configure' without cleaning up
inbetween fails to even detect that.)
Can somebody please shed light on this issue?
Home |
Main Index |
Thread Index |
Old Index