Skip to contentSkip to conversation

groff: fix PERLPATH

PATCH New Robert Yang 1 participant 2 messages Jul 15, 2014

lore
Share & tools
lore
#0 lore raw

cover groff: fix PERLPATH

The following changes since commit fa325e44f5b429b4038022b31285af9c94672943:

insane: Ensure do_package_qa happens after do_packagedata (2014-07-11 23:19:18 +0100)

are available in the git repository at:

git://git.openembedded.org/openembedded-core-contrib rbt/groff
http://cgit.openembedded.org/cgit.cgi/openembedded-core-contrib/log/?h=rbt/groff

Robert Yang (1):
groff: fix PERLPATH

 meta/recipes-extended/groff/groff_1.18.1.4.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
Signature · 1 line
1.7.9.5
#1 lore raw

PATCH 1/1 groff: fix PERLPATH

There is no PERLPATH, but "${USRBINPATH}/env perl".

---
 meta/recipes-extended/groff/groff_1.18.1.4.bb |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
meta/recipes-extended/groff/groff_1.18.1.4.bb +1 -1
index 38e1d36..7fbce9b 100644
@@ -32,7 +32,7 @@ do_install_append() {
 	# for target as /usr/bin/perl, so fix it to /usr/bin/perl.
 	for i in afmtodit mmroff; do
 		if [ -f ${D}${bindir}/$i ]; then
-			sed -i -e '1s,#!.*perl,#! ${PERLPATH},' ${D}${bindir}/$i
+			sed -i -e '1s,#!.*perl,#! ${USRBINPATH}/env perl,' ${D}${bindir}/$i
 		fi
 	done
 
Signature · 1 line
1.7.9.5