summaryrefslogtreecommitdiffstats
path: root/packaging/macos/modulesets/patches/gtk-mac-bundler_configure.patch
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-04-07 18:24:48 +0000
commitcca66b9ec4e494c1d919bff0f71a820d8afab1fa (patch)
tree146f39ded1c938019e1ed42d30923c2ac9e86789 /packaging/macos/modulesets/patches/gtk-mac-bundler_configure.patch
parentInitial commit. (diff)
downloadinkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.tar.xz
inkscape-cca66b9ec4e494c1d919bff0f71a820d8afab1fa.zip
Adding upstream version 1.2.2.upstream/1.2.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'packaging/macos/modulesets/patches/gtk-mac-bundler_configure.patch')
-rw-r--r--packaging/macos/modulesets/patches/gtk-mac-bundler_configure.patch24
1 files changed, 24 insertions, 0 deletions
diff --git a/packaging/macos/modulesets/patches/gtk-mac-bundler_configure.patch b/packaging/macos/modulesets/patches/gtk-mac-bundler_configure.patch
new file mode 100644
index 0000000..10365cd
--- /dev/null
+++ b/packaging/macos/modulesets/patches/gtk-mac-bundler_configure.patch
@@ -0,0 +1,24 @@
+--- a/configure 2020-11-29 14:24:17.000000000 +0100
++++ b/configure 2020-11-29 14:21:40.000000000 +0100
+@@ -0,0 +1,21 @@
++#!/usr/bin/env bash
++
++# This mocks a configure script to provide an interface for JHBuild.
++# We're only interested in the prefix so we can patch the Makefile.
++
++while [ "$#" -gt 0 ]; do
++ case $1 in
++ --prefix=*) PREFIX=${1:9}; break ;;
++ *) echo "ignoring parameter: $1" ;;
++ esac
++ shift
++done
++
++if [ -z $PREFIX ]; then
++ echo "--prefix=* argument not found"
++ exit 1
++else
++ sed -i "" "/bindir=/a\\
++ bindir=$PREFIX\/bin\\
++ " Makefile
++fi