From shigio@tamacom.com  Tue Oct 17 05:01:45 2000
Return-Path: <shigio@tamacom.com>
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 <FreeBSD-gnats-submit@freebsd.org>; 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
Subject: leaved files for GLOBAL
X-Send-Pr-Version: 3.2

>Number:         22045
>Category:       bin
>Synopsis:       Some files should be modified since global was moved into ports.
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    obrien
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue Oct 17 05:10:00 PDT 2000
>Closed-Date:    Wed Oct 18 02:47:23 PDT 2000
>Last-Modified:  Wed Oct 18 02:48:54 PDT 2000
>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:
Responsible-Changed-From-To: freebsd-bugs->obrien 
Responsible-Changed-By: ru 
Responsible-Changed-When: Tue Oct 17 05:40:43 PDT 2000 
Responsible-Changed-Why:  
David has removed the global(1) and friends from the src tree. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22045 
State-Changed-From-To: open->closed 
State-Changed-By: obrien 
State-Changed-When: Wed Oct 18 02:47:23 PDT 2000 
State-Changed-Why:  
I don't think we should remove global support as it is still useful. 
We have just moved the location and build methoid for it.  People can 
pkg_add global and enjoy the nvi and build framework support for it. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=22045 
>Unformatted:
