From 04a3d2b305656711981fac585bf136d6404eb3e3 Mon Sep 17 00:00:00 2001 From: Mahrud Sayrafi Date: Wed, 8 May 2024 05:44:38 -0500 Subject: [PATCH] normaliz: revision bump Closes #222. Signed-off-by: Mahrud Sayrafi --- Formula/normaliz.rb | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/Formula/normaliz.rb b/Formula/normaliz.rb index 0a8896e..8030a74 100644 --- a/Formula/normaliz.rb +++ b/Formula/normaliz.rb @@ -4,7 +4,7 @@ class Normaliz < Formula url "https://github.com/Normaliz/Normaliz/releases/download/v3.10.2/normaliz-3.10.2.tar.gz" sha256 "0f649a8eae5535c18df15e8d35fc055fd0d7dbcbdd451e8876f4a47061481f07" license "GPL-3.0-only" - revision 1 + revision 2 bottle do root_url "https://github.com/Macaulay2/homebrew-tap/releases/download/normaliz-3.10.2_1" @@ -40,17 +40,19 @@ def install # replace the outdated libtool that ships with normaliz symlink "#{Formula["libtool"].opt_bin}/libtool", "libtool" + with_flint = build.with? "flint" + with_nauty = build.with? "nauty" args = [ "--prefix=#{prefix}", "--disable-shared", "--disable-silent-rules", "--disable-dependency-tracking", + "--without-cocoalib", + with_flint ? "--with-flint" : "--without-flint", + with_nauty ? "--with-nauty" : "--without-nauty", ] - args << "--with-flint" if build.with? "flint" - args << "--with-nauty" if build.with? "nauty" - system "autoreconf", "-vif" system "./configure", *args system "make", "install"