Compare commits

...

2 commits

Author SHA1 Message Date
gromgit
d419f58bfa xmount-mac 1.3.0 2025-11-28 06:47:30 +00:00
Adrian Ho
0649e8a73e require/macfuse: add base include dir to flags
Some checks failed
brew test-bot / test-bot (macos-14) (push) Has been cancelled
brew test-bot / test-bot (macos-15) (push) Has been cancelled
brew test-bot / test-bot (macos-26) (push) Has been cancelled
Some projects add subdir to their #include's.
2025-11-28 14:11:03 +08:00
2 changed files with 10 additions and 5 deletions

View file

@ -3,8 +3,8 @@ require_relative "../require/macfuse"
class XmountMac < Formula
desc "Convert between multiple input & output disk image types"
homepage "https://www.sits.lu/xmount"
url "https://code.sits.lu/foss/xmount/-/archive/1.2.1/xmount-1.2.1.tar.gz"
sha256 "61b0b777ca0cd4eda30aeeeca7ec17a49d2657599a37745fb94f8dcc432b93c7"
url "https://code.sits.lu/foss/xmount/-/archive/1.3.0/xmount-1.3.0.tar.gz"
sha256 "2feae8004dfd846ffa8c1ab13254bb9ccd0df597c05c15be26237ec2f75d295c"
bottle do
root_url "https://ghcr.io/v2/gromgit/fuse"

View file

@ -100,19 +100,20 @@ class Formula
end
def setup_fuse_flags
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include/fuse"
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CFLAGS", "-D_FILE_OFFSET_BITS=64"
ENV.append "CFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include/fuse"
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
ENV.append "CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
ENV.append "CXXFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CXXFLAGS", "-I#{alt_fuse_root}/include/fuse"
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CXXFLAGS", "-D_FILE_OFFSET_BITS=64"
ENV.append "CXXFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
ENV.append "LDFLAGS", "-L#{alt_fuse_root}/lib"
ENV.append "CGO_CPPFLAGS", "-I#{alt_fuse_root}/include/fuse"
ENV.append "CGO_CPPFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CGO_CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
@ -125,16 +126,20 @@ class Formula
def setup_fuse3_flags
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include/fuse3"
ENV.append "CFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CFLAGS", "-D_FILE_OFFSET_BITS=64"
ENV.append "CFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include/fuse3"
ENV.append "CPPFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
ENV.append "CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
ENV.append "CXXFLAGS", "-I#{alt_fuse_root}/include/fuse3"
ENV.append "CXXFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CXXFLAGS", "-D_FILE_OFFSET_BITS=64"
ENV.append "CXXFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
ENV.append "LDFLAGS", "-L#{alt_fuse_root}/lib"
ENV.append "CGO_CPPFLAGS", "-I#{alt_fuse_root}/include/fuse3"
ENV.append "CGO_CPPFLAGS", "-I#{alt_fuse_root}/include"
ENV.append "CGO_CPPFLAGS", "-D_FILE_OFFSET_BITS=64"
ENV.append "CGO_CPPFLAGS", "-D_USE_FILE_OFFSET_BITS=64"
ENV.append "CGO_LDFLAGS", "-L#{alt_fuse_root}/lib"