enscript ndisc6: specify target location of perl
PATCH 1/1 enscript ndisc6: specify target location of perl
configure finds the host perl, so we do not let it look by setting PERL in the environment.
Signed-off-by Joe Slater <[email protected]>
--- meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb | 5 +++++ meta-oe/recipes-extended/enscript/enscript_1.6.6.bb | 6 ++++++ 2 files changed, 11 insertions(+)
meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb +5 -0
@@ -49,6 +49,11 @@ or IPv4." DESCRITPION_${PN}-rdnssd = "Daemon to autoconfigure the list of DNS \ servers through slateless IPv6 autoconfiguration." +# We do not run perl during the build, but only use it on the target. +do_configure_prepend() { + export PERL="/usr/bin/perl" +} + do_install_append () { rm -rf ${D}${localstatedir} # Enable SUID bit for applications that need it
meta-oe/recipes-extended/enscript/enscript_1.6.6.bb +6 -0
@@ -19,4 +19,10 @@ inherit autotools gettext SRC_URI[md5sum] = "3acc242b829adacabcaf28533f049afd" SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb" +# We do not run perl during the build, but only use it on the target. +do_configure_prepend() { + export PERL="/usr/bin/perl" +} + RDEPENDS_${PN} = "perl" +
Signature · 1 line
2.7.4
Quoted 30 lines · Joe Slater
configure finds the host perl, so we do not let it look by setting PERL in the environment.
Signed-off-by Joe Slater <[email protected]>--- meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb | 5 +++++ meta-oe/recipes-extended/enscript/enscript_1.6.6.bb | 6 ++++++ 2 files changed, 11 insertions(+)meta-networking/recipes-support/ndisc6/ndisc6_1.0.2.bb +5
-0@@ -49,6 +49,11 @@ or IPv4." DESCRITPION_${PN}-rdnssd = "Daemon to autoconfigure the list of DNS \ servers through slateless IPv6 autoconfiguration." +# We do not run perl during the build, but only use it on the target. +do_configure_prepend() { + export PERL="/usr/bin/perl" +} + do_install_append () { rm -rf ${D}${localstatedir} # Enable SUID bit for applications that need itmeta-oe/recipes-extended/enscript/enscript_1.6.6.bb +0
-0
meta-oe/recipes-extended/enscript/enscript_1.6.6.bb inherit autotools gettext · line 25
Quoted 7 lines
meta-oe/recipes-extended/enscript/enscript_1.6.6.bb +4
-0@@ -19,4 +19,10 @@ inherit autotools gettext SRC_URI[md5sum] = "3acc242b829adacabcaf28533f049afd" SRC_URI[sha256sum] = "6d56bada6934d055b34b6c90399aa85975e66457ac5bf513427ae7fc77f5c0bb" +# We do not run perl during the build, but only use it on the target. +do_configure_prepend() { + export PERL="/usr/bin/perl" +}
May be using something like
EXTRA_OECONF += "'PERL=${USRBINPATH}/env perl'"
would avoid hardcoding the perl path
Quoted 11 lines
meta-oe/recipes-extended/enscript/enscript_1.6.6.bb +2
-1+ RDEPENDS_${PN} = "perl" + --2.7.4
--
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel