From f340c5507aac3fdce6d513873382c6fef861bf46 Mon Sep 17 00:00:00 2001 From: Johnathan Conley Date: Sun, 1 Jun 2014 15:29:36 -0500 Subject: [PATCH] orpie 1.5.2 - remove OCAMLOPT (builds without) - remove unsupported config opts Closes Homebrew/homebrew#29755. Signed-off-by: Jack Nagel --- Formula/orpie.rb | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) diff --git a/Formula/orpie.rb b/Formula/orpie.rb index a4fc3be063..7571bad1a7 100644 --- a/Formula/orpie.rb +++ b/Formula/orpie.rb @@ -2,22 +2,16 @@ require 'formula' class Orpie < Formula homepage 'http://pessimization.com/software/orpie/' - url 'http://pessimization.com/software/orpie/orpie-1.5.1.tar.gz' - sha1 '4e4887d8abcf015a5b423a2d1164ace95ab2d5c1' + url "http://pessimization.com/software/orpie/orpie-1.5.2.tar.gz" + sha1 "9786df20fb272fd36f87868bed04cab504602282" depends_on 'gsl' depends_on 'objective-caml' def install - # OCAMLOPT=/usr/bin/false prevents configure from finding ocaml.opt - # so orpie is built and runs as bytecode otherwise the build - # fails with "undefined symbol" errors. - # This mechanism still works if /usr/bin/false doesn't exist, - # although the build output will be uglier in that scenario. - system "./configure", "--disable-debug", "--disable-dependency-tracking", - "--prefix=#{prefix}", - "--mandir=#{man}", - "OCAMLOPT=/usr/bin/false" + ENV.deparallelize + system "./configure", "--prefix=#{prefix}", + "--mandir=#{man}" system "make" system "make install" end