2017-10-20 01:36:29 +01:00
|
|
|
diff --git a/build/pkgs/git/spkg-install b/build/pkgs/git/spkg-install
|
2018-02-04 23:00:11 +00:00
|
|
|
index 87874de3d8..b0906245fa 100644
|
2017-10-20 01:36:29 +01:00
|
|
|
--- a/build/pkgs/git/spkg-install
|
|
|
|
+++ b/build/pkgs/git/spkg-install
|
2018-02-04 23:00:11 +00:00
|
|
|
@@ -33,6 +33,13 @@ fi
|
2015-09-18 14:56:05 +01:00
|
|
|
|
2017-10-20 01:36:29 +01:00
|
|
|
cd src
|
|
|
|
|
2018-02-04 23:00:11 +00:00
|
|
|
+# Fix hardcoded paths, while making sure to only update timestamps of actually
|
|
|
|
+# changed files (otherwise confuses make)
|
|
|
|
+grep -rlF '/usr/bin/perl' . | while read file
|
|
|
|
+do
|
|
|
|
+ sed -e 's@/usr/bin/perl@perl@g' -i "$file"
|
|
|
|
+done
|
2015-09-18 14:56:05 +01:00
|
|
|
+
|
|
|
|
# We don't want to think about Fink or Macports
|
|
|
|
export NO_FINK=1
|
|
|
|
export NO_DARWIN_PORTS=1
|