WITH_GECKO ― 2007年02月22日 11時06分00秒
基本的には安定指向なのだ。なるべく、自分ではソースはいじらない。極力、初期設定もいじらない。OS もなるべく上げない。入れるときには、できるだけその時点での最新の物にする。
理由は二つ。微妙な不具合でも、一度おかしくなると操作性などに支障をきたす。これが一番痛い。そして、もう一つは色々といじり出すと、止まらないからだ。
確かに、7.0-CURRENT で色々と頻繁に更新をしているが、6.1-STABLE の環境は、再起動だけで戻れるように準備してある。そのため、一度動き出すと、堰を切ったように動き出してしまうのだ。
その途中で面白いものを見付けた。WITH_GECKO の変数自体はかなり前から知っていたのだが、始めて実体を見付けた。 /usr/ports/www/mozilla/bsd.gecko.mk にあったのだ。
# bsd.gecko.mk abstracts the selection of gecko-based backends. It allows users # and porters to support any available gecko backend without needing to build # many conditional tests. ${USE_GECKO} is the list of backends that your port # can handle, and ${GECKO} is set by bsd.gecko.mk to be the chosen backend. # Users set ${WITH_GECKO} to the list of gecko backends they want on their system.
さて、更に読み進めていくと、WITH_GECKO は複数の値を与えられる事がわかる。指定された順序に、順次試していくらしい。
# Users should use the following syntax: # # WITH_GECKO= mozilla firefox seamonkey # Use mozilla whenever a port supports it, falling back on firefox and # then seamonkey. # WITH_GECKO= firefox # Sets your preferred backend. With this example, firefox will always # be chosen, unless the port doesn't support a firefox backend. In that # case, you get whatever the porter chose as the default. Better to use # the first example.
GECKO 関連はコンパイルの時間が掛かる大物が多いので、seamonkey だけで済ませたい。しかし経験上 、結局のところ Firefox しかサポートしていないものが多い。
ちなみに、
.if ${OSVERSION} >= 500000 .if (${ARCH}!="sparc64" || ${OSVERSION} >= 601101) && ${ARCH}!="ia64" _GECKO_ALL= firefox nvu seamonkey thunderbird xulrunner flock firefox15 .endif .endif _GECKO_ALL+= mozilla
最近のコメント