pkgsrc-WIP-changes archive

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

py-pysam: Clean up -L/rpath hack



Module Name:	pkgsrc-wip
Committed By:	Jason Bacon <bacon%NetBSD.org@localhost>
Pushed By:	outpaddling
Date:		Tue Nov 6 08:42:33 2018 -0600
Changeset:	1c253d86682ba792d367ed53f31746186819d661

Modified Files:
	py-pysam/Makefile

Log Message:
py-pysam: Clean up -L/rpath hack

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

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

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

diffs:
diff --git a/py-pysam/Makefile b/py-pysam/Makefile
index 2c09c3e7a4..833dec57d7 100644
--- a/py-pysam/Makefile
+++ b/py-pysam/Makefile
@@ -18,9 +18,8 @@ LICENSE=	mit
 USE_TOOLS+=	gmake
 
 # 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
+LDFLAGS+=	-L${DESTDIR}${PREFIX}/${PYSITELIB}/pysam
+LDFLAGS+=	${COMPILER_RPATH_FLAG}${PREFIX}/${PYSITELIB}/pysam
 
 PV=		0.15.1
 


Home | Main Index | Thread Index | Old Index