mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-20 08:27:15 +00:00
Tentatively unbreak on some 64-bit architectures: powerpc64, sparc64, and
aarch64. The patch basically extends existing ``... || defined()'' chain of checks; ideally, this whole STB_PTR64-related code should be rewritten in architecture name agnostic way.
This commit is contained in:
parent
85cbe6f098
commit
c81316cf01
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=459746
@ -14,10 +14,7 @@ COMMENT= Program to create standalone executables from Python scripts
|
||||
|
||||
LICENSE= GPLv2
|
||||
|
||||
BROKEN_aarch64= Does not compile: error: stb__testsize2_uinta declared as an array with a negative size
|
||||
BROKEN_mips64= Does not compile: cc1: error: unrecognized command line option "-m64
|
||||
BROKEN_powerpc64= Does not compile: error: size of array stb__testsize2_uinta is negative
|
||||
BROKEN_sparc64= Does not compile: error: size of array stb__testsize2_uinta is negative
|
||||
|
||||
OPTIONS_DEFINE= DOCS
|
||||
|
||||
@ -36,6 +33,8 @@ post-patch:
|
||||
${WRKSRC}/PyInstaller/depend/utils.py
|
||||
@${REINPLACE_CMD} -e '/libpython/s,\.so\.1\.0,.so.1,' \
|
||||
${WRKSRC}/PyInstaller/bindepend.py
|
||||
@${REINPLACE_CMD} -e '/defined(__x86_64__)/s,$$, || defined(__aarch64__) || defined(__powerpc64__) || defined(__sparc64__),' \
|
||||
${WRKSRC}/bootloader/common/stb.h
|
||||
|
||||
pre-build:
|
||||
cd ${WRKSRC}/bootloader && ${PYTHON_CMD} waf configure build install
|
||||
|
Loading…
Reference in New Issue
Block a user