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 <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Mon Nov 5 22:56:01 2018 -0600
Changeset:	5aba467fa46a3f71febcb64fec5539872d646db9

Modified Files:
	py-pysam/Makefile

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

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

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

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

diffs:
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/libcutils.so
-# LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/lib/python2.7/site-packages/pysam/libcutils.so
+# 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