diff options
| author | Anil Madhavapeddy | 2014-10-27 19:14:44 +0000 |
|---|---|---|
| committer | Mike McQuaid | 2014-10-28 08:26:19 +0000 |
| commit | d074cb258aab1484d3206c552c156b46f9de61cf (patch) | |
| tree | f5c823fab1017ff0d3d98f1f1b10c77075fc1693 /Library | |
| parent | f4e3469f52209cdd662d6e50f7a119a4f4bfaac4 (diff) | |
| download | homebrew-d074cb258aab1484d3206c552c156b46f9de61cf.tar.bz2 | |
camlp4: build for HOMEBREW_PREFIX but install into the Cellar
Diffstat (limited to 'Library')
| -rw-r--r-- | Library/Formula/camlp4.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/Library/Formula/camlp4.rb b/Library/Formula/camlp4.rb index 124f97ac4..bbd719f74 100644 --- a/Library/Formula/camlp4.rb +++ b/Library/Formula/camlp4.rb @@ -16,7 +16,8 @@ class Camlp4 < Formula "--libdir=#{HOMEBREW_PREFIX}/lib/ocaml", "--pkgdir=#{HOMEBREW_PREFIX}/lib/ocaml/camlp4" system "make", "all" - system "make", "install" + system "make", "install", "LIBDIR=#{prefix}/lib/ocaml", + "PKGDIR=#{prefix}/lib/ocaml/camlp4" end test do |
