pkgsrc-WIP-changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

py-pysam: Fix rpath to find libs under site-packages



Module Name:	pkgsrc-wip
Committed By:	Jason W. Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Sun Jul 30 07:19:04 2023 -0500
Changeset:	b131f5537581c34c91c192d4b26ff99ae6459862

Modified Files:
	py-pysam/Makefile

Log Message:
py-pysam: Fix rpath to find libs under site-packages

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=b131f5537581c34c91c192d4b26ff99ae6459862

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 py-pysam/Makefile | 2 ++
 1 file changed, 2 insertions(+)

diffs:
diff --git a/py-pysam/Makefile b/py-pysam/Makefile
index 0392b4487f..deec6eb84f 100644
--- a/py-pysam/Makefile
+++ b/py-pysam/Makefile
@@ -19,6 +19,8 @@ USE_TOOLS+=	gmake
 MAKE_ENV+=	HTSLIB_MODE=external \
 		HTSLIB_LIBRARY_DIR=${PREFIX}/lib \
 		HTSLIB_INCLUDE_DIR=${PREFIX}/include
+MAKE_ENV+=	LD_LIBRARY_PATH=${WRKSRC}/build/lib.netbsd-9.3-amd64-cpython-310/pysam/
+LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/${PYSITELIB}/pysam
 
 PYTHON_VERSIONS_INCOMPATIBLE=	27
 


Home | Main Index | Thread Index | Old Index