Skip to content
Snippets Groups Projects
Commit 41cce74a authored by Robert Clausecker's avatar Robert Clausecker
Browse files

biology/py-pysam: unbundle biology/htslib

This fixes the build on armv7 by picking up our custom fixed libhts
over the bundled unfixed version.  The CFLAGS workaround is now no
longer required either.

Approved by:	yuri (maintainer)
Differential Revision: https://reviews.freebsd.org/D40251
parent 55b63657
No related branches found
No related tags found
No related merge requests found
PORTNAME= pysam
DISTVERSION= 0.20.0
PORTREVISION= 1
CATEGORIES= biology python
MASTER_SITES= PYPI
PKGNAMEPREFIX= ${PYTHON_PKGNAMEPREFIX}
......@@ -11,12 +12,15 @@ WWW= https://github.com/pysam-developers/pysam
LICENSE= MIT
LICENSE_FILE= ${WRKSRC}/COPYING
LIB_DEPENDS= libhts.so:biology/htslib
USES= gmake python:3.6-3.9
USE_PYTHON= autoplist distutils cython cython_run pytest
CFLAGS+= -fPIC # workaround for https://github.com/pysam-developers/pysam/issues/1146
BINARY_ALIAS= make=${GMAKE}
MAKE_ENV= HTSLIB_MODE=external \
HTSLIB_LIBRARY_DIR=${LOCALBASE}/lib \
HTSLIB_INCLUDE_DIR=${LOCALBASE}/include
post-install:
@${STRIP_CMD} ${STAGEDIR}${PYTHONPREFIX_SITELIBDIR}/pysam/lib*${PYTHON_EXT_SUFFIX}.so
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment