[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Lynx-dev] Drop -lcompat for OpenBSD

From: Christian Weisgerber
Subject: [Lynx-dev] Drop -lcompat for OpenBSD
Date: Mon, 2 Dec 2013 22:44:42 +0100
User-agent: Mutt/1.5.22 (2013-10-16)

OpenBSD is in the process of phasing out libcompat.  Lynx's configure
script unconditionally adds -lcompat on OpenBSD, which isn't necessary
and should be removed.

The functions that configure picks up from libcompat are ftime()
and cuserid().  ftime() isn't used since it only serves as a fallback
to gettimeofday().  cuserid() is potentially used, but in its absence
the code falls back to getlogin(), which is just fine.  This is all
stuff that hasn't changed since the inception of OpenBSD.

Presumably the -lcompat requirement could be dropped for EkkoBSD
and MirBSD, too.

--- lynx2-8-8/ 2013-11-29 01:52:56.000000000 +0100
+++ lynx2-8-8/      2013-12-02 22:34:58.000000000 +0100
@@ -291,7 +291,7 @@
-openbsd* | ekkobsd* | mirbsd*)
+ekkobsd* | mirbsd*)
        LIBS="$LIBS -lcompat"
Christian "naddy" Weisgerber                          address@hidden

reply via email to

[Prev in Thread] Current Thread [Next in Thread]