Index: Portfile
===================================================================
--- Portfile	(revision 60323)
+++ Portfile	(working copy)
@@ -48,6 +48,7 @@
 
 	# may not be strictly necessary, but remove trailing '/' from DESTDIR
 	reinplace "s|\$(DESTDIR)/|\$(DESTDIR)|g" ${worksrcpath}/Makefile.in
+  reinplace "s|-lmd5|../lib/libmd5.a|" ${worksrcpath}/src/doxygen.pro.in
 }
 
 build.target		all
