Bug 54174 - clean spaces behind variables out of port Makefiles
Summary: clean spaces behind variables out of port Makefiles
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Port Management Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2003-07-07 12:00 UTC by Oliver Lehmann
Modified: 2004-05-19 05:29 UTC (History)
1 user (show)

See Also:


Attachments
clean.sh (584 bytes, text/plain)
2003-07-07 12:00 UTC, Oliver Lehmann
no flags Details

Note You need to log in before you can comment on or make changes to this bug.
Description Oliver Lehmann freebsd_committer freebsd_triage 2003-07-07 12:00:27 UTC
	There are some ports where the Makefile contains at least
	one line similar to the following lines:
MAN1 =	something.1
MAN1=     something.1
MAN1= 	something
MAN1=  	something
	Regarding to portlint and porters-handbook, each of those 
	constructs are "wrong" (bacause there are spaces between
	or in front of = and the assignment). Find the script
	which tries to repair this attached.
Comment 1 Kirill Ponomarev freebsd_committer freebsd_triage 2003-11-16 13:13:59 UTC
Responsible Changed
From-To: freebsd-ports-bugs->portmgr

portmgr should take a look at it
Comment 2 edwin 2004-01-10 02:17:45 UTC
That's lang/gawk, not the awk from the base system (at least on ref5)

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/
Comment 3 edwin 2004-01-10 02:36:41 UTC
Please be a little conservative what you actually process, i.e. not
all Makefiles are ports Makefiles: ports/audio/afsp/files/Makefile:

	test -z "`grep ^PORTNAME= ${file}`" && continue 

-- 
Edwin Groothuis      |            Personal website: http://www.mavetju.org
edwin@mavetju.org    |          Weblog: http://weblog.barnet.com.au/edwin/
Comment 4 Kris Kennaway freebsd_committer freebsd_triage 2004-05-19 05:02:49 UTC
State Changed
From-To: open->analyzed

This will not be run on the ports collection because it will 
invalidate a lot of patches for no functional gain.  It should either 
be added to Tools/ or merged into portlint.
Comment 5 Kris Kennaway freebsd_committer freebsd_triage 2004-05-19 05:29:27 UTC
State Changed
From-To: analyzed->closed

Close the port instead since there's nothing further for portmgr to do.