Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 4 Mar 2000 19:06:20 +0100 (CET)
From:      Udo Erdelhoff <ue@nathan.ruhr.de>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   misc/17185: main ncurses headerfile is installed as curses.h
Message-ID:  <200003041806.TAA72891@nathan.ruhr.de>

next in thread | raw e-mail | index | archive | help

>Number:         17185
>Category:       misc
>Synopsis:       main ncurses headerfile is installed as curses.h
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Mar  4 10:10:01 PST 2000
>Closed-Date:
>Last-Modified:
>Originator:     Udo Erdelhoff
>Release:        FreeBSD 4.0-CURRENT i386
>Organization:
>Environment:

	4.0-CURRENT as of 04-MAR-2000
	lib/ncurses/Makefile v 1.39

>Description:

In FreeBSD 4.0, the main headerfile for the ncurses library is installed
as /usr/include/curses.h. ncurses.h is a symbolic link pointing to it.

In contrast, the ncurses library itself is installed as libncurses.{a,so} and
libcurses.{a,so} are symbolic links to them.

The same logic should be applied to {,n}curses.h.

>How-To-Repeat:

Make world and ls -l /usr/include/*curses* /usr/lib/*curses* on any system
updated after 1999/08/30 07:56:55 (activation of src/contrib/ncurses)

>Fix:

(Tested with make world)

Index: Makefile
===================================================================
RCS file: /home/ncvs/src/lib/libncurses/Makefile,v
retrieving revision 1.39
diff -r1.39 Makefile
60,61c60,63
< # Installed
< HEADERS=curses.h term.h termcap.h unctrl.h
---
> # These can be installed with a single execution of ${INSTALL}
> HEADERS=term.h termcap.h unctrl.h
> # This one needs special treatment, see beforeinstall target below
> #HEADERS+=curses.h
254,255c256,259
<	rm -f ${DESTDIR}/usr/include/ncurses.h
<	ln -s curses.h ${DESTDIR}/usr/include/ncurses.h
---
>	${INSTALL} -c -o ${BINOWN} -g ${BINGRP} -m 444 curses.h \
>	    ${DESTDIR}/usr/include/ncurses.h
>	rm -f ${DESTDIR}/usr/include/curses.h
>	ln -s ncurses.h ${DESTDIR}/usr/include/curses.h


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200003041806.TAA72891>