--- configure.orig 2009-07-03 15:21:12.000000000 +0400 +++ configure 2009-07-03 15:22:16.000000000 +0400 @@ -945,7 +945,7 @@ srcdir= verbose= x_includes=NONE -x_libraries=NONE +x_libraries=${LOCALBASE}/lib # Installation directory options. # These are left unexpanded so users can "make install exec_prefix=/foo" @@ -28076,7 +28076,7 @@ NSDEJAVU_CFLAGS=${X_CFLAGS} case "$host" in - *-cygwin* | *-mingw*) + *-cygwin* | *-mingw* | *-freebsd*) NSDEJAVU_LIBS="`echo ${X_LIBS} | sed -e 's/-lXext/-lXt -lXext/'`" NSDEJAVU_LIBS="-no-undefined $NSDEJAVU_LIBS" ;;