--- devtools/OS/FreeBSD.orig	2003-07-03 03:07:45.000000000 +0200
+++ devtools/OS/FreeBSD	2011-06-24 20:24:03.000000000 +0200
@@ -6,7 +6,7 @@
 define(`confMAPDEF', `-DNEWDB -DNIS -DMAP_REGEX')
 define(`confLIBS', `-lutil')
 
-define(`confLD', `cc')
+define(`confLD', `${CC}')
 define(`confMTLDOPTS', `-pthread')
 define(`confMTCCOPTS', `-D_THREAD_SAFE')
 define(`confLDOPTS_SO', `-shared')