File tree Expand file tree Collapse file tree 3 files changed +10
-3
lines changed
conf-freeglut/conf-freeglut.1
conf-mingw-w64-freeglut-i686/conf-mingw-w64-freeglut-i686.1
conf-mingw-w64-freeglut-x86_64/conf-mingw-w64-freeglut-x86_64.1 Expand file tree Collapse file tree 3 files changed +10
-3
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,8 @@ homepage: "https://freeglut.sourceforge.net/"
55license: "X11"
66bug-reports: "https://github.com/ocaml/opam-repository/issues"
77build: [
8- ["pkg-config" "--print-errors" "--exists" "glut"] {(os != "win32" | os-distribution != "cygwin") & os-distribution != "debian" & os-distribution != "ubuntu" & !(os-distribution = "ol" & os-version < "9")}
8+ ["pkg-config" "--print-errors" "--exists" "freeglut"] {os = "win32" & os-distribution = "msys"}
9+ ["pkg-config" "--print-errors" "--exists" "glut"] {os != "win32" & os-distribution != "debian" & os-distribution != "ubuntu" & !(os-distribution = "ol" & os-version < "9")}
910]
1011depends: [
1112 "conf-pkg-config" {build & os-distribution != "debian" & os-distribution != "ubuntu" & !(os-distribution = "ol" & os-version < "9")}
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ homepage: "https://freeglut.sourceforge.net/"
88bug-reports: "https://github.com/ocaml/opam-repository/issues"
99flags: conf
1010available: os = "win32"
11- build: ["pkgconf" "--personality=i686-w64-mingw32" "freeglut"]
11+ build: [
12+ # Cygwin is missing a pkg-config .pc file https://cygwin.com/packages/x86_64/mingw64-i686-freeglut/mingw64-i686-freeglut-2.8.1-1
13+ ["pkg-config" "--personality=i686-w64-mingw32" "freeglut"] {os = "win32" & os-distribution = "msys2"}
14+ ]
1215depends: [
1316 "conf-pkg-config" {build}
1417 "conf-mingw-w64-gcc-i686" {build}
Original file line number Diff line number Diff line change @@ -8,7 +8,10 @@ homepage: "https://freeglut.sourceforge.net/"
88bug-reports: "https://github.com/ocaml/opam-repository/issues"
99flags: conf
1010available: os = "win32"
11- build: ["pkgconf" "--personality=x86_64-w64-mingw32" "freeglut"]
11+ build: [
12+ # Cygwin is missing a pkg-config .pc file https://www.cygwin.com/packages/x86_64/mingw64-x86_64-freeglut/mingw64-x86_64-freeglut-2.8.1-1
13+ ["pkg-config" "--personality=x86_64-w64-mingw32" "freeglut"] {os = "win32" & os-distribution = "msys2"}
14+ ]
1215depends: [
1316 "conf-pkg-config" {build}
1417 "conf-mingw-w64-gcc-x86_64" {build}
You can’t perform that action at this time.
0 commit comments