1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

Allow building on powerpc64le.

While here, pet portlint (stray whitespace at EOL).

Approved by:	portmgr (tier-2 blanket)
This commit is contained in:
Mark Linimon 2020-09-23 20:50:08 +00:00
parent 79071923d0
commit 777f5ca830
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=549846

View File

@ -46,12 +46,13 @@ _LLD_EMUL_armv7= armelf_fbsd
_LLD_EMUL_i386= elf_i386_fbsd
_LLD_EMUL_powerpc= elf32ppc_fbsd
_LLD_EMUL_powerpc64= elf64ppc_fbsd
_LLD_EMUL_powerpc64le= elf64ppc_fbsd
post-patch:
@${REINPLACE_CMD} 's,[[:<:]]ld[[:>:]],ld -m${_LLD_EMUL_${ARCH}},' \
${WRKSRC}/src/xlib/CMakeLists.txt
.endif
do-test:
@cd ${TEST_WRKSRC} && \
${SETENV} ${CONFIGURE_ENV} ${CMAKE_BIN} ${CMAKE_ARGS} \