Skip to content

Commit

Permalink
cairo: Fox for arm64 builds, #966
Browse files Browse the repository at this point in the history
  • Loading branch information
TheSin- committed Feb 1, 2023
1 parent 019e837 commit 5b679af
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion 10.9-libcxx/stable/main/finkinfo/graphics/cairo.info
Original file line number Diff line number Diff line change
Expand Up @@ -62,13 +62,15 @@ PatchScript: <<
# avoid false failures from Xcode 7.3 linker warnings
# see https://bugs.freedesktop.org/show_bug.cgi?id=59298
perl -pi -e "s,cat conftest.err,cat conftest.err \| grep -v warning,g" configure

if [ "%m" == "arm64" ]; then cp %p/lib/fink/update/config.* %b/; fi
<<

SetCC: flag-sort -r gcc
SetCFLAGS: -Os
UseMaxBuildJobs: true
ConfigureParams: <<
--build=%m-apple-darwin`uname -r|sed 's/\\..*//'` \
--build=${ARCH}-apple-darwin`uname -r|sed 's/\\..*//'` \
--mandir=%p/share/man \
--disable-static \
--enable-dependency-tracking \
Expand All @@ -86,6 +88,11 @@ ConfigureParams: <<
<<
CompileScript: <<
#!/bin/sh -ev
if [ "%m" == "arm64" ]; then
ARCH="aarch64"
else
ARCH="%m"
fi
export PKG_CONFIG_PATH="%p/lib/glib-2.0/pkgconfig-strict:$PKG_CONFIG_PATH"
ac_cv_prog_GS= ./configure %c
make V=1
Expand Down

0 comments on commit 5b679af

Please sign in to comment.