diff options
| author | Jack Nagel | 2012-08-12 12:59:31 -0500 |
|---|---|---|
| committer | Jack Nagel | 2012-08-12 13:01:04 -0500 |
| commit | 7dbf0ab31da1a62c2b9bd1c7d5f338204e106567 (patch) | |
| tree | fda14e0f3d2c2de407b206b980c6b0f864d00a82 /Library/Formula | |
| parent | 416e6fb166e5b526ef344d8eb7eac4c48a76ac56 (diff) | |
| download | homebrew-7dbf0ab31da1a62c2b9bd1c7d5f338204e106567.tar.bz2 | |
rsyslog: use options DSL
Signed-off-by: Jack Nagel <jacknagel@gmail.com>
Diffstat (limited to 'Library/Formula')
| -rw-r--r-- | Library/Formula/rsyslog.rb | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/Library/Formula/rsyslog.rb b/Library/Formula/rsyslog.rb index ae7e42246..48b3f073b 100644 --- a/Library/Formula/rsyslog.rb +++ b/Library/Formula/rsyslog.rb @@ -7,12 +7,10 @@ class Rsyslog < Formula depends_on 'pkg-config' => :build - def options - [['--universal', 'Make a 32/64-bit Intel build.']] - end + option :universal def install - ENV.universal_binary if ARGV.build_universal? + ENV.universal_binary if build.universal? system "./configure", "--disable-dependency-tracking", "--prefix=#{prefix}" system "make" system "make install" |
