From d074cb258aab1484d3206c552c156b46f9de61cf Mon Sep 17 00:00:00 2001 From: Anil Madhavapeddy Date: Mon, 27 Oct 2014 19:14:44 +0000 Subject: camlp4: build for HOMEBREW_PREFIX but install into the Cellar --- Library/Formula/camlp4.rb | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'Library/Formula') 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 -- cgit v1.2.3