-PGM=`$SEARCHPROG "$SEARCHPATH" curl`
-if [ ! -z "$PGM" ]; then
- echo "nmh-access-url: $PGM -L" >> $TMP
-fi
+case "`uname`" in
+ FreeBSD)
+ echo "nmh-access-url: fetch -o -" >> $TMP
+ ;;
+ *)
+ PGM=`$SEARCHPROG "$SEARCHPATH" curl`
+ if [ ! -z "$PGM" ]; then
+ echo "nmh-access-url: $PGM -L" >> $TMP
+ fi
+ ;;
+esac