1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-19 00:13:33 +00:00

biology/ngs-sdk: Fix build on non-amd64 architectures that was broken by explicit 'amd64' instead of $ARCH

Reported by:	fallout
This commit is contained in:
Yuri Victorovich 2021-04-15 09:54:04 -07:00
parent 12913c59e0
commit b2993cf7f6

View File

@ -35,7 +35,7 @@ do-install: # install target from the project breaks: https://github.com/ncbi/ng
cd ${WRKSRC}/ngs-sdk && ${COPYTREE_SHARE} ngs ${STAGEDIR}${PREFIX}/include
${RM} -r ${STAGEDIR}${PREFIX}/include/ngs/win
# install libraries
cd ${WRKSRC}/build/ngs-sdk/FreeBSD/clang/amd64/rel/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib
cd ${WRKSRC}/build/ngs-sdk/FreeBSD/clang/${ARCH}/rel/lib && ${COPYTREE_SHARE} . ${STAGEDIR}${PREFIX}/lib
# The above command installs broken-looking static libs with symlinks.
# This is intentional, see comments https://github.com/ncbi/ncbi-vdb/issues/36#issuecomment-817990790 This may change in future versions.
# strip