Skip to content

Commit 8f78ac6

Browse files
Apply suggestions from code review
1 parent abbcdb2 commit 8f78ac6

File tree

1 file changed

+6
-8
lines changed
  • packages/mlgmpidl/mlgmpidl.1.2.15-1

1 file changed

+6
-8
lines changed

packages/mlgmpidl/mlgmpidl.1.2.15-1/opam

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,9 @@ bug-reports: "https://github.com/nberth/mlgmpidl/issues"
66
homepage: "https://www.inrialpes.fr/pop-art/people/bjeannet/mlxxxidl-forge/mlgmpidl/"
77
license: "LGPL-2.1-only WITH OCaml-LGPL-linking-exception"
88
build: [
9-
[
10-
"sed"
11-
"-ib"
12-
"-e"
13-
"s/checkprefix \"\\$cc \\$cflags\" mpfr\\.h/checkprefix \"\\$cc \\$cflags -I\\$gmp_prefix\\/include\" mpfr.h/g"
14-
"configure"] {os = "macos" & os-distribution = "homebrew"}
9+
[ "sed" "-ib" "-e" "s/checkprefix \"\\$cc \\$cflags\" mpfr\\.h/checkprefix \"\\$cc \\$cflags -I\\$gmp_prefix\\/include\" mpfr.h/g" "configure"] {os = "macos" & os-distribution = "homebrew"}
1510
["sh" "-exec" "./configure --absolute-dylibs --mpfr-prefix ${HOMEBREW_PREFIX:-/opt/homebrew}/opt/mpfr --gmp-prefix ${HOMEBREW_PREFIX:-/opt/homebrew}/opt/gmp"] { os = "macos" & os-distribution = "homebrew" }
16-
["sh" "./configure" "--absolute-dylibs" {os = "macos"} ] { !(os = "macos"& os-distribution = "homebrew") }
11+
["sh" "./configure" "--absolute-dylibs" {os = "macos"} ] { !(os = "macos" & os-distribution = "homebrew") }
1712
[make]
1813
]
1914
install: [
@@ -36,7 +31,10 @@ conflicts: [
3631
synopsis: "OCaml interface to the GMP library"
3732
url {
3833
src: "https://github.com/nberth/mlgmpidl/archive/1.2.15.tar.gz"
39-
checksum: "sha512=bffa295d7eac0a35ba95b8fefa46f5db02efa1f58e4d6b4da73901de74535523ad263354f2672318361ed0f76029df1ef85f745ce245dc73dddffb9d328dc7a8"
34+
checksum: [
35+
"sha512=bffa295d7eac0a35ba95b8fefa46f5db02efa1f58e4d6b4da73901de74535523ad263354f2672318361ed0f76029df1ef85f745ce245dc73dddffb9d328dc7a8"
36+
"md5=fba69df33295a427e093cad67114a5d6"
37+
]
4038
}
4139
x-ci-accept-failures: [
4240
"oraclelinux-8" "oraclelinux-9" "alpine-3.19"

0 commit comments

Comments
 (0)