diff --git a/desktop/scripts/unopkg.sh b/desktop/scripts/unopkg.sh
index 40cf8aa..5f750d0 100644
--- a/desktop/scripts/unopkg.sh
+++ b/desktop/scripts/unopkg.sh
@@ -45,7 +45,7 @@ cd "$sd_cwd"
 
 # this is a temporary hack until we can live with the default search paths
 case "`uname -s`" in
-NetBSD|OpenBSD)
+NetBSD|OpenBSD|FreeBSD)
     sd_prog1="$sd_prog/../basis-link/program"
     sd_prog2="$sd_prog/../basis-link/ure-link/lib"
     LD_LIBRARY_PATH=$sd_prog1:$sd_prog2${LD_LIBRARY_PATH:+:${LD_LIBRARY_PATH}}
