On Wednesday, November 12, 2014, Barry Grundy <<a href="mailto:bgrundy@gmail.com">bgrundy@gmail.com</a>> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">I maintain a particular package, and it's due for an upgrade.  I've been playing with one of the options to the package and Iv'e determined that for my use I would rarely run without that particular option.<div><br></div><div>Is it bad practice to have the SlackBuild enable an option by default? Obviously the README would cover the subject.  Basically I'm asking to turn an option into a "requirement".  </div><div><br></div><div>The package in question is bulk_extractor (already in SBo), and the option is liblightgrep (I'll be submitting the new SlackBuild concurrently).</div><div><br></div><div>The .info would reflect the requirement, and the bulk_extractor README would indicate that the requirement could be disabled by removing "--enable-liblightgrep" from the SlackBuild.  </div><div><br></div><div>Is this kosher(ish)?</div></div></blockquote><div><br></div><div>Why not set up a switch, on/off by default, say, so that the option can be run/not run without editing the script:</div><div><br></div><div>LLG=yes ./blah.SlackBuild</div><div><br></div><div>This is done in a number of scripts (JDK, qemu, nvidia, ...)</div><div><br></div><div> </div><br><br>-- <br>You! What PLANET is this!<br>    -- McCoy, "The City on the Edge of Forever", stardate 3134.0<br><br>