pkgsrc-WIP-changes archive

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

py-ranger: fix hardcoding /usr/pkg in Makefile.



Module Name:	pkgsrc-wip
Committed By:	nahra <nahra%unseen.is@localhost>
Pushed By:	nahra
Date:		Thu Nov 3 22:52:53 2016 +0000
Changeset:	a657947259afd66b5982347d4183064b63b7587e

Modified Files:
	py-ranger/Makefile

Log Message:
py-ranger: fix hardcoding /usr/pkg in Makefile.

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

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

diffstat:
 py-ranger/Makefile | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diffs:
diff --git a/py-ranger/Makefile b/py-ranger/Makefile
index d1e7534..48cd821 100644
--- a/py-ranger/Makefile
+++ b/py-ranger/Makefile
@@ -26,10 +26,10 @@ SUBST_CLASSES+=			fix-paths
 SUBST_STAGE.fix-paths=		pre-configure
 SUBST_MESSAGE.fix-paths=	Fixing absolute paths.
 SUBST_FILES.fix-paths=		${WRKSRC}/doc/ranger.1
-SUBST_SED.fix-paths=		-e 's,/usr/share,/usr/pkg/share,g'
-SUBST_SED.fix-paths+=		-e 's,/usr/lib,/usr/pkg/libexec,g'
+SUBST_SED.fix-paths=		-e 's,/usr/share,${PREFIX}/share,g'
+SUBST_SED.fix-paths+=		-e 's,/usr/lib,${PREFIX}/libexec,g'
 
-REPLACE_PYTHON+=	.py	*/*.py	*/*/*.py	*/*/*.py
+REPLACE_PYTHON+=	*/*.py	*/*/*.py	*/*/*.py
 
 USE_LANGUAGES=	# none
 


Home | Main Index | Thread Index | Old Index