diff options
| author | Max Howell | 2012-02-27 03:44:55 +0000 |
|---|---|---|
| committer | Max Howell | 2012-02-27 04:05:43 +0000 |
| commit | d4f0ba05c1dd45c1c05c3ec91e2e996546609a70 (patch) | |
| tree | dce36ce4801df2153ffe3480d0fd67d4cf77c7d9 /Library/Formula/aplus.rb | |
| parent | b0c81fcc5d5744fdad7b1eb0f8ccbf455b2573d3 (diff) | |
| download | homebrew-d4f0ba05c1dd45c1c05c3ec91e2e996546609a70.tar.bz2 | |
depends_on "automake" where necessary
Had to remove full paths, since we have two options for location now.
Diffstat (limited to 'Library/Formula/aplus.rb')
| -rw-r--r-- | Library/Formula/aplus.rb | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/Library/Formula/aplus.rb b/Library/Formula/aplus.rb index c283a94b4..59100e2c9 100644 --- a/Library/Formula/aplus.rb +++ b/Library/Formula/aplus.rb @@ -11,16 +11,21 @@ class Aplus < Formula DATA end + if MacOS.xcode_version >= "4.3" + depends_on "automake" + depends_on "libtool" + end + def install # replace placeholder w/ actual prefix ["src/lisp.0/aplus.el", "src/lisp.1/aplus.el"].each do |path| chmod 0644, path inreplace path, "/usr/local/aplus-fsf-4.20", prefix end - system "/usr/bin/aclocal -I config" - system "/usr/bin/glibtoolize --force --copy" - system "/usr/bin/automake --foreign --add-missing --copy" - system "/usr/bin/autoconf" + system "aclocal -I config" + system "glibtoolize --force --copy" + system "automake --foreign --add-missing --copy" + system "autoconf" system "./configure", "--disable-debug", "--disable-dependency-tracking", "--prefix=#{prefix}" system "/usr/bin/make" |
