pkg:setup args = %W[--disable-dependency-tracking --prefix=#{prefix} --sysconfdir=#{etc} --with-bot --with-proxy --enable-true-color --with-socks=no --with-ncurses=#{MacOS.sdk_path}/usr --with-perl=yes --with-perl-lib=#{lib}/perl5/site_perl ] ENV["NOCONFIGURE"] = "yes" ./autogen.sh *args end inreplace "configure", "^DUIfm", "^DUIifm" pkg:configure *args make make DESTDIR=${PKG_DEST} install