The configure script unconditionally adds -lcompat. This isn't needed; configure checks for the presence of cuserid() and ftime() and the build copes well with the absence of either. ftime() would only ever be used if gettimeofday() wasn't available, and cuserid() is replaced by getlogin() but that code branch in unreached anyway.
In short, we can just drop -lcompat. ok? Index: configure =================================================================== RCS file: /cvs/src/gnu/usr.bin/lynx/configure,v retrieving revision 1.15 diff -u -p -r1.15 configure --- configure 22 Jul 2011 14:10:37 -0000 1.15 +++ configure 2 Dec 2013 20:50:02 -0000 @@ -5877,7 +5877,7 @@ msdosdjgpp*) next*) TRY_CFLAGS="$TRY_CFLAGS -DNEXT" ;; -openbsd* | ekkobsd* | mirbsd*) +ekkobsd* | mirbsd*) LIBS="$LIBS -lcompat" ;; osf4*) Index: configure.in =================================================================== RCS file: /cvs/src/gnu/usr.bin/lynx/configure.in,v retrieving revision 1.11 diff -u -p -r1.11 configure.in --- configure.in 22 Jul 2011 14:10:37 -0000 1.11 +++ configure.in 2 Dec 2013 20:48:28 -0000 @@ -289,7 +289,7 @@ msdosdjgpp*) next*) TRY_CFLAGS="$TRY_CFLAGS -DNEXT" ;; -openbsd* | ekkobsd* | mirbsd*) +ekkobsd* | mirbsd*) LIBS="$LIBS -lcompat" ;; osf4*) -- Christian "naddy" Weisgerber na...@mips.inka.de