--- doxygen-1.4.4/addon/doxywizard/Makefile.in.orig	2005-12-24 13:01:14.000000000 -0500
+++ doxygen-1.4.4/addon/doxywizard/Makefile.in	2005-12-24 13:03:08.000000000 -0500
@@ -24,9 +24,13 @@
 
 Makefile.doxywizard: doxywizard.pro 
 	$(ENV) $(PERL) $(TMAKE) doxywizard.pro >Makefile.doxywizard
+	sed "s/X11R6\/lib/X11R6\/lib$(USE64)/m" Makefile.doxywizard | sed "s/(QTDIR)\/lib/(QTDIR)\/lib$(USE64)/m" - > Makefile.doxywizard.new
+	mv Makefile.doxywizard.new Makefile.doxywizard
 
 tmake: 
 	$(ENV) $(PERL) $(TMAKE) doxywizard.pro >Makefile.doxywizard
+	sed "s/X11R6\/lib/X11R6\/lib$(USE64)/m" Makefile.doxywizard | sed "s/(QTDIR)\/lib/(QTDIR)\/lib$(USE64)/m" - > Makefile.doxywizard.new
+	mv Makefile.doxywizard.new Makefile.doxywizard
 
 clean: Makefile.doxywizard 
 	$(MAKE) -f Makefile.doxywizard clean 

