From owner-freebsd-bugs Tue Oct 17 5:10: 6 2000 Delivered-To: freebsd-bugs@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id D8D9137B4CF for ; Tue, 17 Oct 2000 05:10:00 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.3/8.9.2) id FAA67629; Tue, 17 Oct 2000 05:10:00 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from t-mta3.odn.ne.jp (mfep3.odn.ne.jp [143.90.131.181]) by hub.freebsd.org (Postfix) with ESMTP id CA2E737B4E5 for ; Tue, 17 Oct 2000 05:01:43 -0700 (PDT) Received: from choota.signet.or.jp ([211.121.222.196]) by t-mta3.odn.ne.jp (InterMail vM.4.01.02.27 201-229-119-110) with ESMTP id <20001017120141438.NKTY.940.t-mta3.odn.ne.jp@mta3.odn.ne.jp>; Tue, 17 Oct 2000 21:01:41 +0900 Received: (from shigio@localhost) by choota.signet.or.jp (8.9.3/) id UAA02073; Tue, 17 Oct 2000 20:50:28 +0900 (JST) Message-Id: <200010171150.UAA02073@tamacom.com> Date: Tue, 17 Oct 2000 20:50:28 +0900 (JST) From: shigio@tamacom.com Reply-To: shigio@tamacom.com To: FreeBSD-gnats-submit@freebsd.org Cc: shigio@tamacom.com X-Send-Pr-Version: 3.2 Subject: bin/22045: leaved files for GLOBAL Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 22045 >Category: bin >Synopsis: Some files should be modified since global was moved into ports. >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: Tue Oct 17 05:10:00 PDT 2000 >Closed-Date: >Last-Modified: >Originator: Shigio Yamaguchi >Release: FreeBSD current >Organization: Tama Communications Corporation >Environment: N/A >Description: Since global was moved into ports, some files in core FreeBSD should be modified. >How-To-Repeat: N/A >Fix: I don't know what to do but can point out the locations. ------------------------------------------------------------------- [src/usr.bin/vi/Makefile] ------------------------------------------------------------------- o This line enables global support for nvi. I don't know whether or not we should remove this line but removing this line generate original nvi without global support. CFLAGS+= -DGTAGS ------------------------------------------------------------------- [src/share/mk/bsd.prog.mk] ------------------------------------------------------------------- o The following lines should be modified to fit ctags(1): It seems that NOTAGS macro is not used currently. .if defined(NOTAGS) tags: .endif .if !target(tags) tags: ${SRCS} _SUBDIR .if defined(PROG) @cd ${.CURDIR} && gtags ${GTAGSFLAGS} ${.OBJDIR} .if defined(HTML) @cd ${.CURDIR} && htags ${HTAGSFLAGS} -d ${.OBJDIR} ${.OBJDIR} .endif .endif .endif ------------------------------------------------------------------- [src/share/mk/bsd.dep.mk] ------------------------------------------------------------------- o This comment should be modified. # tags: # Create a (GLOBAL) gtags file for the source files. # If HTML is defined, htags is also run after gtags. o The following lines should be modified to fit ctags(1): It seems that NOTAGS macro is not used currently. .if defined(NOTAGS) tags: .endif .if !target(tags) tags: ${SRCS} _SUBDIR @cd ${.CURDIR} && gtags ${GTAGSFLAGS} ${.OBJDIR} .if defined(HTML) @cd ${.CURDIR} && htags ${HTAGSFLAGS} -d ${.OBJDIR} ${.OBJDIR} .endif .endif o '${.OBJDIR}/GPATH ${.OBJDIR}/GRTAGS ${.OBJDIR}/GSYMS ${.OBJDIR}/GTAGS should be removed. The code about HTML should be removed. Gtags(1) generates GPATH, GTAGS, GRTAGS and GSYMS. Htags(1) generates HTML directory. .if !target(cleandepend) cleandepend: _SUBDIR .if defined(SRCS) rm -f ${DEPENDFILE} ${.OBJDIR}/GPATH ${.OBJDIR}/GRTAGS \ ${.OBJDIR}/GSYMS ${.OBJDIR}/GTAGS .if defined(HTML) rm -rf ${.OBJDIR}/HTML .endif .endif .endif ------------------------------------------------------------------- [src/share/mk/sys.mk] ------------------------------------------------------------------- o The following lines should be removed. These definitions means parameter for gtags(1) and htags(1). # For tags rule. GTAGSFLAGS= -o HTAGSFLAGS= ------------------------------------------------------------------- [src/usr.bin/more/] ------------------------------------------------------------------- Since the more(1) which includes global support was replaced with less(1), thers is nothing to do about more. >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message