As documented in the email referenced below, there are
a ton of ways maintainers signal a no-op in the
CompileScript or InstallScript. For example,
'CompileScript: echo "nothing to compile"'. Better
form is to silently return a true value via
'CompileScript: /usr/bin/true'. This is better because
it's less verbose (who cares if there is nothing to
compile?) and it reduces the English text for when we
internationalize Fink someday (inevitable, I think).
The attached patch adds a .info validation step that
recommends that the maintainer change no-ops to
/usr/bin/true. It only checks in pedantic mode
(verbosity > 3).
Email reference:
http://sf.net/mailarchive/message.php?msg_id=10116957
Feedback is appreciated. If this change is deemed good
by people, I'll cvs commit it myself.
Validation.pm patch
Logged In: YES
user_id=535292
Please don't apply this (in its current form) until -devel
resolves the issue of making validation checks dependent on
verbosity level.
Logged In: YES
user_id=50365
Understood, Dan. This is obviously a low-priority patch.
The updated email reference to this is http://article.gmane.org/gmane.os.apple.fink.devel/9525/match=
And I recently thought about exactly this "issue" ;) so I'd like something like this being implemented.