--- config/get_archos.orig 2019-01-16 12:58:17.467530000 +0100 +++ config/get_archos 2019-01-16 12:59:02.074978000 +0100 @@ -26,7 +26,7 @@ ========================================================================== I know of the following Operating Systems EOM - rep='os2 freebsd netbsd cygwin linux hpux aix osf1 solaris sunos nextstep concentrix irix'; + rep='os2 bsdsunix freebsd netbsd cygwin linux hpux aix osf1 solaris sunos nextstep concentrix irix'; . ./display echo $n ..."Any of these apply ? $c" dflt=$osname; . ./myread --- config/arch-osname.orig 2019-01-16 12:58:08.526675000 +0100 +++ config/arch-osname 2019-01-16 12:58:54.090877000 +0100 @@ -20,7 +20,7 @@ arch=`uname -m` if test -z "$arch"; then arch=ix86; fi ;; - freebsd|netbsd|openbsd) + bsdsunix|freebsd|netbsd|openbsd) arch=`uname -m` if test -z "$arch"; then arch=ix86; fi case $arch in --- config/get_ld.orig 2019-01-16 12:58:32.062363000 +0100 +++ config/get_ld 2019-01-16 12:59:33.405114000 +0100 @@ -58,7 +58,7 @@ runpathprefix='-rpath ' else # guess... case "$osname" in - gnu|osf1|linux|cygwin*|freebsd|netbsd) runpathprefix='-rpath ' ;; + gnu|osf1|linux|cygwin*|bsdsunix|freebsd|netbsd) runpathprefix='-rpath ' ;; solaris) runpathprefix='-R ' ;; hpux) runpathprefix='+b ' ;; aix) runpathprefix='-blibpath:' ;; --- config/get_dlld.orig 2019-01-16 12:58:24.772773000 +0100 +++ config/get_dlld 2019-01-16 12:59:22.562322000 +0100 @@ -9,7 +9,7 @@ soname=.$soname_num do_dll=yes case "$osname" in - gnu*|aix|osf1|solaris|linux|freebsd|netbsd) + gnu*|aix|osf1|solaris|linux|bsdsunix|freebsd|netbsd) case $pari_release_verbose in *STABLE*) sodest=.$version.$patch;; # released version *DEVELOPMENT*) sodest=.$patch.0.0;; # unstable version @@ -26,7 +26,7 @@ # dlopen(NULL) should return a handle to the running process. # On FreeBSD 2.2.5 (Y. Uchikawa) and Cygwin, this does not work. case "$osname" in - freebsd|cygwin) DL_DFLT_NAME="\\\"\$(LIBPARI_DYN)\\\"" ;; + bsdsunix|freebsd|cygwin) DL_DFLT_NAME="\\\"\$(LIBPARI_DYN)\\\"" ;; *) DL_DFLT_NAME=NULL ;; esac @@ -66,7 +66,7 @@ case "$osname" in aix) DLLDFLAGS='-r' ;; darwin) DLLD=; DLLDFLAGS='-dylib -flat_namespace -undefined suppress' ;; - freebsd) DLLDFLAGS='-Bshareable -x' ;; + bsdsunix|freebsd) DLLDFLAGS='-Bshareable -x' ;; hpux) DLLDFLAGS='-b' ;; irix) DLLDFLAGS='-shared -elf -no_unresolved -all' ;; osf1) DLLDFLAGS='-shared' ;; @@ -91,7 +91,7 @@ DLLDFLAGS="-shared $extra \$(CFLAGS) \$(DLCFLAGS) $DLLDFLAGS" fi case "$osname" in - gnu*|cygwin|osf1|freebsd|linux|sunos|solaris) EXTRADLLDFLAGS='-lc ${LIBS}';; + gnu*|cygwin|osf1|bsdsunix|freebsd|linux|sunos|solaris) EXTRADLLDFLAGS='-lc ${LIBS}';; esac if test "$fastread" != yes; then