From owner-freebsd-bugs Sat Mar 4 10:10: 8 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 00DA637B805 for ; Sat, 4 Mar 2000 10:10:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id KAA19694; Sat, 4 Mar 2000 10:10:01 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: from mail.ruhr.de (ns.ruhr.de [141.39.224.34]) by hub.freebsd.org (Postfix) with SMTP id E618437B85D for ; Sat, 4 Mar 2000 10:02:42 -0800 (PST) (envelope-from ue@nathan.ruhr.de) Received: (qmail 33418 invoked by alias); 4 Mar 2000 18:02:18 -0000 Received: (from ue@localhost) by nathan.ruhr.de (8.9.3/8.9.3) id TAA72891; Sat, 4 Mar 2000 19:06:20 +0100 (CET) (envelope-from ue) Message-Id: <200003041806.TAA72891@nathan.ruhr.de> Date: Sat, 4 Mar 2000 19:06:20 +0100 (CET) From: Udo Erdelhoff Reply-To: ue@nathan.ruhr.de To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: misc/17185: main ncurses headerfile is installed as curses.h Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >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