pkgsrc-WIP-changes archive

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

py-pysam: Hack around failure to locate lib

Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <>
Pushed By:	outpaddling
Date:		Mon Nov 5 22:56:01 2018 -0600
Changeset:	5aba467fa46a3f71febcb64fec5539872d646db9

Modified Files:

Log Message:
py-pysam: Hack around failure to locate lib

To see a diff of this commit:;a=commitdiff;h=5aba467fa46a3f71febcb64fec5539872d646db9

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

 py-pysam/Makefile | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/py-pysam/Makefile b/py-pysam/Makefile
index 907e8fa7b8..2c09c3e7a4 100644
--- a/py-pysam/Makefile
+++ b/py-pysam/Makefile
@@ -17,9 +17,10 @@ LICENSE=	mit
 USE_TOOLS+=	gmake
-# Succeed in altering link commands, but do not help
-# LDFLAGS+=	-L${PREFIX}/lib/python2.7/site-packages/pysam/
-# LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/lib/python2.7/site-packages/pysam/
+# FIXME: Why is this necessary?
+LDFLAGS+=	-L${DESTDIR}${PREFIX}/lib/python2.7/site-packages/pysam
+# Can probably remove this
+LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/lib/python2.7/site-packages/pysam
 PV=		0.15.1

Home | Main Index | Thread Index | Old Index