| Summary: | app-admin/apachetop-0.12.6 ignores USE="-fam" | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Stefan Behte (RETIRED) <craig> |
| Component: | New packages | Assignee: | Gentoo Web Application Packages Maintainers <web-apps> |
| Status: | RESOLVED FIXED | ||
| Severity: | normal | ||
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
|
Description
Stefan Behte (RETIRED)
2007-11-09 13:12:19 UTC
Yeah, the flag is completely ignored. $ USE="-fam" ebuild apachetop-0.12.6.ebuild install $ ldd apachetop linux-gate.so.1 => (0xb7f90000) libreadline.so.5 => /lib/libreadline.so.5 (0xb7f42000) libncurses.so.5 => /lib/libncurses.so.5 (0xb7efd000) libfam.so.0 => /usr/lib/libfam.so.0 (0xb7ef6000) libstdc++.so.6 => /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/libstdc++.so.6 (0xb7e0c000) libgcc_s.so.1 => /usr/lib/gcc/i686-pc-linux-gnu/4.2.2/libgcc_s.so.1 (0xb7e00000) libc.so.6 => /lib/libc.so.6 (0xb7cae000) libdl.so.2 => /lib/libdl.so.2 (0xb7ca9000) libpthread.so.0 => /lib/libpthread.so.0 (0xb7c92000) libm.so.6 => /lib/libm.so.6 (0xb7c6b000) /lib/ld-linux.so.2 (0xb7f91000) $ scanelf -n apachetop TYPE NEEDED FILE ET_EXEC libreadline.so.5,libncurses.so.5,libfam.so.0,libstdc++.so.6,libgcc_s.so.1,libc.so.6 apachetop I guess this section in configure.ac should be restructured so that the header check only runs when the configure flag has been given:
# fam {{{
AC_ARG_WITH(fam,
[ --with-fam=<path> prefix of fam installation (eg /usr/local)],
[
CPPFLAGS="$CPPFLAGS -I $withval/include"
LDFLAGS="$LDFLAGS -L $withval/lib"
]
)
AC_CHECK_HEADERS(fam.h,
AC_SEARCH_LIBS([FAMOpen], [fam]) ,
AC_MSG_WARN([*** fam.h not found -- consider using --with-fam])
)
# }}}
Unfortunately I'm no autoconf expert and I'd need a little bit too long right now to determine the correct fix. Can somebody else with more autoconf experience check that?
fixed, thanks |