1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-30 05:40:06 +00:00

Re-add a patch to fix a build failure happening under certain circumstances.

PR:		ports/157708
Submitted by:	Pedro Garcia [sawp sawp.com br]
Obtained from:	Chromium development repository (George Liaskos)
This commit is contained in:
Rene Ladan 2011-06-08 18:45:07 +00:00
parent 6290a300c6
commit d2b8ef585b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=275248

View File

@ -0,0 +1,16 @@
--- build/linux/python_arch.sh.orig 2011-06-08 21:00:57.020677627 +0300
+++ build/linux/python_arch.sh 2011-06-08 21:01:35.203676025 +0300
@@ -10,12 +10,7 @@
# python_arch.sh /path/to/sysroot/usr/lib/libpython2.4.so.1.0
#
-python=$(readlink -f "$1")
-if [ ! -r "$python" ]; then
- echo unknown
- exit 0
-fi
-file_out=$(file "$python")
+file_out=$(file "$1")
if [ $? -ne 0 ]; then
echo unknown
exit 0