--- exports/Makefile.orig	2010-02-05 16:01:00 UTC
+++ exports/Makefile
@@ -106,6 +106,7 @@ so : ../$(LIBSONAME)
 endif
 
 ifeq ($(OSNAME), FreeBSD)
+EXTRALIB += -lgfortran
 
 so : ../$(LIBSONAME)
 
