Red Hat Bugzilla – Bug 588793
wvdial doesn't use liblockdev
Last modified: 2010-05-04 15:05:39 EDT
CPPOPTS="$RPM_OPT_FLAGS -DUSE_LOCKDEV=1" \
XX_LIBS="-lcrypt -llockdev" \
Changelog also says that wvdial uses lockdev for locking,
but I can't find any place where wvdial includes any liblockdev header (baudboy.h, ttylock.h, lockdev.h) or uses any liblockdev function.
The Makefile also doesn't know anything about LOCKDEV or USE_LOCKDEV variable.
If I'm wrong feel free to close this as notabug.
Otherwise remove the liblockdev bits from spec file.
Thanks for report, Jirko - however, it's really notabug - wvdial is very closely related to libwvstreams library ...
#include wvmodem.h in wvdial leads to #include wvlockdev.h ... and it uses USE_LOCKDEV in wvlockdev.cc ...
Maybe strange, maybe really hidden, but it is there ...