Subject: pkgsrc escaping newlines
To: None <tech-pkg@netbsd.org>
From: Geert Hendrickx <ghen@telenet.be>
List: tech-pkg
Date: 12/03/2005 11:50:36
I don't know what others think of this, but I find the following
construction ugly and somewhat tedious to edit:
CONFIGURE_ARGS+= --something \
--something-else \
--and-also-this
I much prefer this:
CONFIGURE_ARGS+= --something
CONFIGURE_ARGS+= --something-else
CONFIGURE_ARGS+= --and-also-this
Although the former is very often seen in pkgsrc (also with MASTER_SITES
and other variables). Is there a pkgsrc policy preferring either one over
the other? If so, could a pkglint check be written for this, suggesting
the use of += instead of escaping newlines?
Geert