ctunnel: remove options

This commit is contained in:
FX Coudert 2018-09-18 22:16:44 +02:00
parent 4561e87afb
commit a21e9e937a

View file

@ -16,10 +16,11 @@ class Ctunnel < Formula
end
depends_on "openssl"
depends_on :tuntap => :optional
def install
inreplace "Makefile.cfg", "TUNTAP=yes", "TUNTAP=no" if build.without? "tuntap"
# Do not require tuntap
inreplace "Makefile.cfg", "TUNTAP=yes", "TUNTAP=no"
system "make"
bin.mkpath
system "make", "-B", "install", "PREFIX=#{prefix}"