今までは /usr/local/etc/pkgtools.conf で MAKE_ARGS に記述していた。 この場合、portupgrade(portinstall) を通してコンパイルしないと反映されない。 portupgradeを使わない時にも反映させるには /etc/make.conf で指定する。 openoffice.org にオプションを指定する場合は、以下のように記述する。 .if ${.CURDIR:M/usr/ports*} != "" . if ${CURDIR:M/usr/ports/editors/openoffice.org*} != "" LOCALIZED_LANG=ja WITH_SYSTEM_FREETYPE=yes . endif .endif pkgtools.confのMAKE_ARGSの記述は削除してよい。
![portsのコンパイルオプション指定 | FreeBSD覚え書き](https://cdn-ak-scissors.b.st-hatena.com/image/square/54eff32cbec67087a89d7c297b7df8ca5afe5c62/height=288;version=1;width=512/https%3A%2F%2Fimage.excite.co.jp%2Fjp%2FappleIcon%2Fapp%2Fblog%2Fapple-touch-icon.png)