| Server IP : 82.208.35.60 / Your IP : 216.73.216.238 Web Server : Apache/2.4.55 (FreeBSD) OpenSSL/1.1.1q-freebsd PHP/7.3.31 System : FreeBSD server7.d2m.cz 12.4-RELEASE-p9 FreeBSD 12.4-RELEASE-p9 GENERIC amd64 User : studiokobylisy_cz ( 1008) PHP Version : 7.3.31 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : /usr/ports/sysutils/swapd/files/ |
Upload File : |
--- configure.orig 2013-10-06 16:11:43 UTC +++ configure @@ -4850,6 +4850,7 @@ fi for ac_func in swapoff do : ac_fn_c_check_func "$LINENO" "swapoff" "ac_cv_func_swapoff" +ac_cv_func_swapoff=no if test "x$ac_cv_func_swapoff" = xyes; then : cat >>confdefs.h <<_ACEOF #define HAVE_SWAPOFF 1 @@ -4861,6 +4862,7 @@ done ac_fn_c_check_func "$LINENO" "swapon" "ac_cv_func_swapon" +ac_cv_func_swapon=no if test "x$ac_cv_func_swapon" = xyes; then : @@ -5114,6 +5116,17 @@ $as_echo "#define SWAPD_SWAP_PERMS 01600 $as_echo "#define SWAPD_SWAPOFF_CMDLINE \"/sbin/swapctl -d \\\"%s\\\"\"" >>confdefs.h ;; + freebsd*) + +cat >>confdefs.h <<\_ACEOF +#define SWAPD_SWAPON_CMDLINE "/usr/local/sbin/swapd_swapon \"%s\"" +_ACEOF + +cat >>confdefs.h <<\_ACEOF +#define SWAPD_SWAPOFF_CMDLINE "/usr/local/sbin/swapd_swapoff \"%s\"" +_ACEOF + + ;; esac