require 'formula' class Vsftpd /* BEGIN config */ +#if defined(__APPLE__) + #undef VSF_SYSDEP_HAVE_UTMPX +#endif + #if defined(__linux__) #include #include diff --git a/vsf_findlibs.sh b/vsf_findlibs.sh index b988be6..68d4a34 100755 --- a/vsf_findlibs.sh +++ b/vsf_findlibs.sh @@ -20,6 +20,8 @@ if find_func pam_start sysdeputil.o; then locate_library /usr/lib/libpam.sl && echo "-lpam"; # AIX ends shared libraries with .a locate_library /usr/lib/libpam.a && echo "-lpam"; + # Mac OS X / Darwin shared libraries with .dylib + locate_library /usr/lib/libpam.dylib && echo "-lpam"; else locate_library /lib/libcrypt.so && echo "-lcrypt"; locate_library /usr/lib/libcrypt.so && echo "-lcrypt";