かれこれ2カ月ぐらいportsでmultimedia/avifileがコンパイルできません

checking for main in -lqt-mt... no
checking for Qt library (version >= 200)... no
configure: WARNING:
*** Could not run Qt test program, checking why...
*** Configure discovered/uses these settings:
*** Qt libraries: /usr/X11R6/lib
*** Qt headers: /usr/X11R6/include
*** Note:
*** Compilation of Qt utilities also might be turned off (if not wanted).
*** If you are experiencing problems which will not be described
*** bellow please report then on 'avifile@prak.org' mailing list
*** (i.e. some misdetection or omitted path)
configure: error:
*** The test program failed to compile or link. See the file config.log for the
*** exact error that occured. This usually means Qt was incorrectly installed
*** or that you have moved Qt since it was installed. In the latter case, you
*** may want to set QTDIR shell variable

Qtもportsで入れたので(というか、avifileをmakeしようとしたら入った)の
でQtが入ってないとか、どっかに移動させたということはないです
WITHOUT_QT=yesをせずにmakeしたいのですが、どうすればいいですか?