lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV Lynx 2.7: OpenBSD patch


From: Tim Pierce
Subject: LYNX-DEV Lynx 2.7: OpenBSD patch
Date: Wed, 16 Apr 1997 23:33:27 -0500 (CDT)

Hi --

Lynx 2.7 does not compile out of the box on OpenBSD.  Since OpenBSD is
a derivative of NetBSD, the patch is pretty simple; I have included it
below.

Apologies if this is going to the wrong place, or if it's old news; I
couldn't find any indication that OpenBSD changes have been made to
very recent Lynx revisions.

thanks for all your work --
love, T.

diff -c -r lynx2-7/Makefile lynx2-7-dev/Makefile
*** lynx2-7/Makefile    Sat Feb 15 05:50:28 1997
--- lynx2-7-dev/Makefile        Wed Apr 16 23:19:29 1997
***************
*** 444,449 ****
--- 444,459 ----
                $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
                WWWLIB="../WWW/Library/netbsd/libwww.a"
  
+ # OpenBSD is like NetBSD, but the system curses is ncurses. Need
+ # -ltermlib for setupterm(3). -twp
+ openbsd:
+       cd WWW/Library/netbsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
+       cd src; $(MAKE) all CC="cc" MCFLAGS="-O -DFANCY_CURSES -DNCURSES \
+               -DUNIX -DNO_CUSERID -I../$(WWWINC) $(SITE_DEFS)" \
+               LIBS="-lcurses -lcompat -ltermlib \
+               $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
+               WWWLIB="../WWW/Library/netbsd/libwww.a"
+ 
  # Tested on DN 3500 & 4500's running Domain O/S 10.4 BSD
  # -Acpu,mathchip may have to be changed on other machines - see man cpuhep
  apollo:
diff -c -r lynx2-7/src/LYCurses.h lynx2-7-dev/src/LYCurses.h
*** lynx2-7/src/LYCurses.h      Mon Dec  9 15:37:18 1996
--- lynx2-7-dev/src/LYCurses.h  Wed Apr 16 19:58:16 1997
***************
*** 33,39 ****
  
  #ifdef NCURSES
  # ifndef NCURSESHEADER
! #  include <ncurses/curses.h>
  # else
  #  ifdef __NetBSD__
  #    include <ncurses/ncurses.h>
--- 33,43 ----
  
  #ifdef NCURSES
  # ifndef NCURSESHEADER
! #   ifdef __OpenBSD__
! #     include <curses.h>
! #   else
! #     include <ncurses/curses.h>
! #   endif /* __OpenBSD__ */
  # else
  #  ifdef __NetBSD__
  #    include <ncurses/ncurses.h>
;
; To UNSUBSCRIBE:  Send a mail message to address@hidden
;                  with "unsubscribe lynx-dev" (without the
;                  quotation marks) on a line by itself.
;

reply via email to

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