lynx-dev
[Top][All Lists]
Advanced

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

LYNX-DEV FreeBSD flags (was Re: Anyone using Solaris 2.5.1 out there?)


From: Андрей Чернов
Subject: LYNX-DEV FreeBSD flags (was Re: Anyone using Solaris 2.5.1 out there?)
Date: Mon, 27 Jan 1997 22:45:39 +0300 (MSK)

On Mon, 27 Jan 1997, T.E.Dickey wrote:

> I saw another, on one of the targets it links with -mytinfo (why?)

It because no stable enough ncurses version exists now to switch too,
all higher versions have bugs which prevent incorporation of them into
FreeBSD source tree. Ask address@hidden about details, he track
current ncurses bugs related to FreeBSD.

BTW, FreeBSD target itself have wrong flags and can't be compiled. Here is
some of FreeBSD-ports patches which allows real building of lynx
under FreeBSD, in short form 1) add NCURSESHEADER, 2) Remove -O,
there already is one (or higher) in default CFLAGS.

*** Makefile.orig       Thu Jul 18 18:18:08 1996
--- Makefile    Sun Jul 21 08:36:58 1996
***************
*** 394,401 ****
  # FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
  freebsd-ncurses:
        cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
!       cd src; $(MAKE) all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DNCURSES -DUNIX \
!               -DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
                -I../$(WWWINC) $(SITE_DEFS)" \
                LIBS="-lncurses -lmytinfo \
                $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
--- 394,401 ----
  # FreeBSD doesn't have or need ranlib. (ignore the error message about that :)
  freebsd-ncurses:
        cd WWW/Library/freebsd; $(MAKE) LYFLAGS="$(SITE_LYDEFS)"
!       cd src; $(MAKE) all MCFLAGS="$(CFLAGS) -DFANCY_CURSES -DNCURSES 
-DNCURSESHEADER -DUNIX \
!               -DNO_TTYTYPE -DNO_CUSERID -DLOCALE \
                -I../$(WWWINC) $(SITE_DEFS)" \
                LIBS="-lncurses -lmytinfo \
                $(WAISLIB) $(SOCKSLIB) $(SITE_LIBS)" \
*** WWW/Library/freebsd/Makefile.bak    Wed Jul 17 10:09:46 1996
--- WWW/Library/freebsd/Makefile        Tue Oct 22 05:52:52 1996
***************
*** 8,14 ****
  ASIS_MACH = i386/FreeBSD
  
  
! CFLAGS += -O -DDEBUG
  LFLAGS =
  
  # Directory for installed binary:
--- 8,14 ----
  ASIS_MACH = i386/FreeBSD
  
  
! CFLAGS += -DDEBUG
  LFLAGS =
  
  # Directory for installed binary:


-- 
Andrey A. Chernov
<address@hidden>
http://www.nagual.ru/~ache/

;
; 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]