編 editors/koffice-kde4 的時候系統上不能有 qt3

簡單來說就是編完 KDE4 之後如果想編 KOffice 的話就會遇上,
錯誤訊息大概會長這樣:

[ 44%] Building CXX object
filters/kspread/latex/export/CMakeFiles/kspreadlatexexport.dir/cell.o
In file included from /usr/ports/editors/koffice-
kde4/work/koffice-2.2.0/filters/kspread/latex/export/xmlparser.h:28,
from /usr/ports/editors/koffice-
kde4/work/koffice-2.2.0/filters/kspread/latex/export/format.h:30,
from /usr/ports/editors/koffice-
kde4/work/koffice-2.2.0/filters/kspread/latex/export/cell.h:30,
from /usr/ports/editors/koffice-
kde4/work/koffice-2.2.0/filters/kspread/latex/export/cell.cc:25:
/usr/local/include/qdom.h:97: error: function definition does not declare
parameters
/usr/local/include/qdom.h:122: error: function definition does not declare
...

這個問題主要的原因就在於有人裝瘋仔
http://www.mail-archive.com/kde-freebsd@kde.org/msg08277.html
所以請先用 pkg_delete 移除 qt-copy-3.x.x. 這個套件再編 koffice-kde4,
最後再把 qt-copy-3.x.x 裝回去。
不想重編的話可以先用 pkg_create -jb qt-copy-3.x.x 包成能直接 pkg_add 的套件,
這樣 pkg_delete 再裝完 koffice-kde4 以後就能直接 pkg_add 回去。

Qt3 是 KDE4 的相依套件所以這問題會很自然的撞上,
事後忘記把 Qt3 裝回去也是不行的。