--- exports/Makefile~	2011-08-09 13:19:10.000000000 +0900
+++ exports/Makefile	2011-08-09 13:57:42.000000000 +0900
@@ -106,6 +106,7 @@
 endif
 
 ifeq ($(OSNAME), FreeBSD)
+EXTRALIB += -lgfortran
 
 so : ../$(LIBSONAME)
 
