mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-05-07 17:19:23 +00:00
vpnc: use nativeperl to run perl scripts
inhert perlnative and make sure we use nativeperl to run perl scripts when compile. fixed: | ./makeman.pl | Can't locate Fatal.pm in @INC Signed-off-by: Jackie Huang <jackie.huang@windriver.com> Signed-off-by: Joe MacDonald <joe_macdonald@mentor.com>
This commit is contained in:
committed by
Joe MacDonald
parent
22119569b9
commit
34ca3aeef1
@@ -7,9 +7,16 @@ LICENSE = "GPL-2.0+"
|
|||||||
LIC_FILES_CHKSUM = "file://COPYING;md5=173b74cb8ac640a9992c03f3bce22a33"
|
LIC_FILES_CHKSUM = "file://COPYING;md5=173b74cb8ac640a9992c03f3bce22a33"
|
||||||
DEPENDS = "libgcrypt"
|
DEPENDS = "libgcrypt"
|
||||||
|
|
||||||
|
inherit perlnative
|
||||||
|
|
||||||
CFLAGS_append = ' -DVERSION=\\"${PV}\\"'
|
CFLAGS_append = ' -DVERSION=\\"${PV}\\"'
|
||||||
LDFLAGS_append = " -lgcrypt -lgpg-error"
|
LDFLAGS_append = " -lgcrypt -lgpg-error"
|
||||||
|
|
||||||
|
do_configure_append () {
|
||||||
|
# Make sure we use our nativeperl wrapper
|
||||||
|
sed -i "1s:#!.*:#!/usr/bin/env nativeperl:" ${S}/*.pl
|
||||||
|
}
|
||||||
|
|
||||||
do_install () {
|
do_install () {
|
||||||
sed -i s:m600:m\ 600:g Makefile
|
sed -i s:m600:m\ 600:g Makefile
|
||||||
oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr' install
|
oe_runmake 'DESTDIR=${D}' 'PREFIX=/usr' install
|
||||||
|
|||||||
Reference in New Issue
Block a user