aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSjors Provoost <sjors@sprovoost.nl>2018-07-24 13:20:25 +0200
committerSjors Provoost <sjors@sprovoost.nl>2018-07-24 13:20:25 +0200
commit12c93cb85b6cb075d22323ff02acebbe05e42375 (patch)
tree7de2e5f3723a0c89e3174e655c84c459769ab660
parent7ebd8c6385253bfa30175169a22f93474d8ddfaf (diff)
depends: use MacOS friendly sed syntax in qt.mk
-rw-r--r--depends/packages/qt.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/depends/packages/qt.mk b/depends/packages/qt.mk
index 22cf4f515b..c7982d4523 100644
--- a/depends/packages/qt.mk
+++ b/depends/packages/qt.mk
@@ -129,7 +129,7 @@ define $(package)_preprocess_cmds
cp -f qtbase/mkspecs/macx-clang/qplatformdefs.h qtbase/mkspecs/macx-clang-linux/ &&\
cp -f $($(package)_patch_dir)/mac-qmake.conf qtbase/mkspecs/macx-clang-linux/qmake.conf && \
cp -r qtbase/mkspecs/linux-arm-gnueabi-g++ qtbase/mkspecs/bitcoin-linux-g++ && \
- sed -i s/arm-linux-gnueabi-/$(host)-/g qtbase/mkspecs/bitcoin-linux-g++/qmake.conf && \
+ sed -i.old "s/arm-linux-gnueabi-/$(host)-/g" qtbase/mkspecs/bitcoin-linux-g++/qmake.conf && \
patch -p1 -i $($(package)_patch_dir)/fix_qt_pkgconfig.patch &&\
patch -p1 -i $($(package)_patch_dir)/fix_configure_mac.patch &&\
patch -p1 -i $($(package)_patch_dir)/fix_no_printer.patch &&\