Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Oct 2000 20:50:28 +0900 (JST)
From:      shigio@tamacom.com
To:        FreeBSD-gnats-submit@freebsd.org
Cc:        shigio@tamacom.com
Subject:   bin/22045: leaved files for GLOBAL
Message-ID:  <200010171150.UAA02073@tamacom.com>

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

>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




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