From patchwork Tue Jul 30 21:20:11 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 170119 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp3120544ile; Tue, 30 Jul 2019 14:24:30 -0700 (PDT) X-Received: by 2002:a17:902:e20c:: with SMTP id ce12mr121009273plb.130.1564521630216; Tue, 30 Jul 2019 14:20:30 -0700 (PDT) X-Google-Smtp-Source: APXvYqxo1z3yuNOxrS+rlTTO+fqC7+FbHMOzqjFi9TpyhkvNIHDIxZCcR50Dd3E7KqKZWR31fh/K X-Received: by 2002:a17:902:e20c:: with SMTP id ce12mr121009076plb.130.1564521627071; Tue, 30 Jul 2019 14:20:27 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564521627; cv=none; d=google.com; s=arc-20160816; b=wiI50Wem1vNzJJ2im9ZfLYzznnHd88HjY3ovdF6q0WnUOykgExiSV2wkbvIR8hmM1j CEaKfThE09g009N07PYUhf93EXEexbqqHDjeINRvLlQXyxqIkEd4OsmEYg1eZnE372Sf ewMOrmIWJ5WPi900z/KKCnUcAkY9lXc4K8zmmcQS8R+g18y7osD4Skg4B2RKvVBR0R4z BnaByoihxGVa2h98u2n344oZtAOKendsx9EvAJOuefKt14v0A+RlboHH6ckQkZt6NGO8 MmSUlWUKP7Jq7eoQa8YjerzYljIzAIuAj+uQcj01EKzAVXCFmv+ACcRoVFsu6rv4KSss bBKA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:message-id:date:to:from:dkim-signature:delivered-to; bh=kdAISme6k4XjHnnbko1KQOuOdAqezHSAYLu+ocu92Ow=; b=Y1xFBSmrSZWLpsSUr+FcxVVR7FP7v0c2w6n5n9czYvG+Q8desFROc/VsX33Dvcez6e u4I3Bv/1vOy3LbmsH5Z2cAoT2I48ENqQjcGVszxVUZzGDHAiSVqIGWNWEhmz4NMjPwsy 7e0bL5g0b3fSWkC4E3a+pfchRxnIrCDTDbgATBYK4j+a3Df4YM5JmRloYSfkviAOjET2 Dc67ZXyoLxvtFbR+mhNpMFU4gx0pXhW8AsbvUeAZqPIvwdiiYWxqEXVk3iQPVojempCa xX5crB6BOvGE/3VQWtiCRIJRFHir94rjbdntItY3X2vS61FNxJXLO0og1VAAVWBrcB5y ohRQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=eOHorXtm; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id 2si12639666pla.22.2019.07.30.14.20.26; Tue, 30 Jul 2019 14:20:27 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=eOHorXtm; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id 0D1E87F332; Tue, 30 Jul 2019 21:20:18 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) by mail.openembedded.org (Postfix) with ESMTP id AA9277F266 for ; Tue, 30 Jul 2019 21:20:15 +0000 (UTC) Received: by mail-wm1-f51.google.com with SMTP id s15so36536736wmj.3 for ; Tue, 30 Jul 2019 14:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=IbRzYqPZicNPEyXgsXJ/1iMrhdJfaskPmJ2p22/bQNM=; b=eOHorXtmMFIOHO5ORjQSabeYg5zySh0mnRn9kA8etXMnJjl5Gh0A8loqEgRVHwwdmJ 7oq9pXf6cWlGJ5t0oyGIoyttee7k1ZEfJWmLDcJBUluhM+7N82QgGreWo5sl10xdJY2U tDg8WjTO/rP+a0dpROK0yZRZq7dbVnkpcJFSth1mCI2IkQaKR+pmMq+Rw91RQVoDaF14 6myYbmgfu8si0xwUuqPyRKA+TX97j+nrur8HnHqmXSPCJxY+w34RO9KYiSPvBq0YAxUu 6YgGqTQ/KDP5yLUn4wnFVA5l295zgpbnLlvFwNh7gvNsnoqWgdeVIS2FhHRSijq5tcQ1 u5CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:mime-version :content-transfer-encoding; bh=IbRzYqPZicNPEyXgsXJ/1iMrhdJfaskPmJ2p22/bQNM=; b=jkb3Jb56g14QrzIVG1qGjKSes3BSCtvrdvhmBwH/ItVkUhztutOEnAvTfJbHL1n22t QTGpLAfIx25uiVugn2AIPiiTUXZntG545zKEBqv58KJmomhzTnHeAU19krG3YxULBjmW hrUPcf1cbywZ+S6NDrCPPPRe8KQrCLooyy75hybprqmspmUXTECAppSbQww25i8D3535 d256ugHEPWe0M1iuEugenp54HFTMcTnjTpHXl55apm6Gs3TZ5U52ffXAaPhhR1uQGzRU tNZo6HhpXn/LHu5mCPFptQ+Jo09TX64YTdXE0t3WT2rMBYy8PU9jwhkX7y3IS6P7sF/I eS0g== X-Gm-Message-State: APjAAAXbsh81t8VRJDTjrlWluLPYu0vz8kErHHgZGJY3YKrJOZh6zDt4 6zyXlkvzg7vBjVYc/537Mn4hLUBYXWo= X-Received: by 2002:a1c:c78d:: with SMTP id x135mr99473587wmf.82.1564521615960; Tue, 30 Jul 2019 14:20:15 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id y16sm66737943wrw.33.2019.07.30.14.20.14 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 30 Jul 2019 14:20:14 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 30 Jul 2019 22:20:11 +0100 Message-Id: <20190730212012.24115-1-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Subject: [OE-core] [PATCH 1/2] perl: fix whitespace X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org There was some tabs embedded in spaces, fix those. Signed-off-by: Ross Burton --- meta/recipes-devtools/perl/perl_5.30.0.bb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/perl/perl_5.30.0.bb b/meta/recipes-devtools/perl/perl_5.30.0.bb index e3664290e30..ce280cb1cbd 100644 --- a/meta/recipes-devtools/perl/perl_5.30.0.bb +++ b/meta/recipes-devtools/perl/perl_5.30.0.bb @@ -179,7 +179,7 @@ perl_package_preprocess () { ${PKGD}${libdir}/perl5/${PV}/Config.pm \ ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/Config.pm \ ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/Config.pod \ - ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/Config_git.pl \ + ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/Config_git.pl \ ${PKGD}${libdir}/perl5/${PV}/${TARGET_ARCH}-linux/Config_heavy.pl \ ${PKGD}${libdir}/perl5/${PV}/ExtUtils/Liblist/Kid.pm \ ${PKGD}${libdir}/perl5/${PV}/FileCache.pm \ @@ -192,7 +192,7 @@ require perl-ptest.inc FILES_${PN} = "${bindir}/perl ${bindir}/perl.real ${bindir}/perl${PV} ${libdir}/libperl.so* \ ${libdir}/perl5/site_perl \ ${libdir}/perl5/${PV}/Config.pm \ - ${libdir}/perl5/${PV}/*/Config_git.pl \ + ${libdir}/perl5/${PV}/*/Config_git.pl \ ${libdir}/perl5/${PV}/*/Config_heavy-target.pl \ ${libdir}/perl5/config.sh \ ${libdir}/perl5/${PV}/strict.pm \ From patchwork Tue Jul 30 21:20:12 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Ross Burton X-Patchwork-Id: 170118 Delivered-To: patch@linaro.org Received: by 2002:a92:512:0:0:0:0:0 with SMTP id q18csp3117721ile; Tue, 30 Jul 2019 14:21:00 -0700 (PDT) X-Google-Smtp-Source: APXvYqywF2+lWtH0v1ihYF0cUxXYXu0sWkiB3FlI+X0Czc1MVPpG/f8BmNN83S20DHavGhG8RRZO X-Received: by 2002:a17:90a:1b0c:: with SMTP id q12mr119842248pjq.76.1564521660510; Tue, 30 Jul 2019 14:21:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1564521660; cv=none; d=google.com; s=arc-20160816; b=jqyclGqnqFD3qtWdQGY0QYPPSsZJZzH7LKm5Sji67eM3gX+x00plI/yjzXoPDGdG9H oNiuBS4aK/D558V36MzqA3aaxbV49wZOvEio27PUggXdprlEd1D2frAph04IrwHUfXr2 tSJ+kGrrsjW0OOb3frFcxsZI2g7t/7ROid8w/BLxBG2IMDmzV5ceaKIJ78z9XxvvyNat uFRwLJ/Jm3L5rwzMG/G8Ex60TQJT22aXoMiqbdiNyOJIRLp/mounhhev2DQiL1CmNuXo +CZUBYfG3AKJv7IYZ++ra+TXRq3qexzQvbt2T4KU7EVdFZyx4CL7VLQnI6iyI2jaVNkc UxEA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:sender:content-transfer-encoding:list-subscribe:list-help :list-post:list-archive:list-unsubscribe:list-id:precedence:subject :mime-version:references:in-reply-to:message-id:date:to:from :dkim-signature:delivered-to; bh=TsKvP1rx+sLT81AsOvLt/YNkIPZi9nRu4qAduJLMEDU=; b=FcGgEsEKA6oXO7/6gqjcqXNJ236O+MrQ8ogTRfpSb5LJfI5ylho1hoMieeIftfJ4vs RfaRGlGAcN+LAAGPBanEilkQukthNNb9+goDAAXJHsjCKygnAx/vRw7yv57sKO4sgZbS lO3GycKIehR2QNNGIDXxNLE5K6Wi1L0NHi1cexdWKRJPmOhc8kfk2QcJX/YghobcEu9n /v3DieqWyOluFUynCzPeayaPK0yawTbHodIaLi5l/iwOHP/pXree67DHPuzvEKwfE0yL HLXUub7/PYCqQWoCZeJ4Gi4qNobg42X0hqVbViY8064XlLOafmBbdpZBQvdkZxBbKl+x tGeA== ARC-Authentication-Results: i=1; mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=yvDi8Y80; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from mail.openembedded.org (mail.openembedded.org. [140.211.169.62]) by mx.google.com with ESMTP id g13si32984429pgo.274.2019.07.30.14.21.00; Tue, 30 Jul 2019 14:21:00 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) client-ip=140.211.169.62; Authentication-Results: mx.google.com; dkim=neutral (body hash did not verify) header.i=@intel-com.20150623.gappssmtp.com header.s=20150623 header.b=yvDi8Y80; spf=pass (google.com: best guess record for domain of openembedded-core-bounces@lists.openembedded.org designates 140.211.169.62 as permitted sender) smtp.mailfrom=openembedded-core-bounces@lists.openembedded.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from ec2-34-214-78-129.us-west-2.compute.amazonaws.com (localhost [127.0.0.1]) by mail.openembedded.org (Postfix) with ESMTP id DBBC17F35F; Tue, 30 Jul 2019 21:20:57 +0000 (UTC) X-Original-To: openembedded-core@lists.openembedded.org Delivered-To: openembedded-core@lists.openembedded.org Received: from mail-wm1-f65.google.com (mail-wm1-f65.google.com [209.85.128.65]) by mail.openembedded.org (Postfix) with ESMTP id 7113F7F266 for ; Tue, 30 Jul 2019 21:20:16 +0000 (UTC) Received: by mail-wm1-f65.google.com with SMTP id l2so57868171wmg.0 for ; Tue, 30 Jul 2019 14:20:17 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=intel-com.20150623.gappssmtp.com; s=20150623; h=from:to:subject:date:message-id:in-reply-to:references:mime-version :content-transfer-encoding; bh=ndutl2nD/0hwnXXAOzSqNzejBiMCMVkn4qlFGBscqBw=; b=yvDi8Y80vsdgF8rvmZ6EwOCJ7IRMhNubPznJiyH2bu6uWCBIE4/2ps1r4mWMRdJ9Nt ZGXfJa/uNSryfExV0rlTbPdYKWEPYSlsLKctRgCe9fdv1QmQqRiCo7ztlhVeQFOmX/N3 FCMIMn2BgHNTv78TY2kZksQC4AsX6H1IJqHvcnhiG7SB40yIfVF7xxMFB2dNVqnTDwsf +lwCJUXG+qYx+oxU6xap/t7lKlMRyMa5pvTIFw4s+S2+bJTjYK6rPOD9hzr592k0uK6A vNYzlwpxoW+vj2TiUhs8lWBK8cOI3KZjrcwZCk13tTuq/vZyAkXwDV/qamouyFTlZ1D4 RwFA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=ndutl2nD/0hwnXXAOzSqNzejBiMCMVkn4qlFGBscqBw=; b=LL2KFZ1EFgRyuNqQuaLcE9MI2iUYEji83ZBWtap8uXQ1zUhG5o5EmUVO4ky4adobT7 ZQVjhNhrSZmHqV470MWvPNA8YeCnwqn8DZTQFq1VRJFDLTyeTZSm7jqdS+t1dmf5sRIn AaNmR0SAfGYQFpmnZJ/qLjWC+8DrSHhL7tklA9CIAU7i0Cf5wDxz6w+Z4q5q1igJXDK2 BYHjR6w3TeBnOPrchyJ3Mia48CGsY71PBHtpt7k/zHppq1LDoG2VBevambJXqihwwYTU SkbISY9AVfdvImrEj4tG9hobDAyJ9ppUDHPcjPDJjHFdyurqDYWUbD8aEL92DqMtPoaG 2b8A== X-Gm-Message-State: APjAAAV5adlqupNwFS/PNTM2MzrJcrj+HlRjeZfUcpu50+j4WX3nq04F o+BbP9sdG76FZXHuHDUupvu5TjiNeEE= X-Received: by 2002:a1c:c742:: with SMTP id x63mr112563024wmf.0.1564521616902; Tue, 30 Jul 2019 14:20:16 -0700 (PDT) Received: from flashheart.burtonini.com (35.106.2.81.in-addr.arpa. [81.2.106.35]) by smtp.gmail.com with ESMTPSA id y16sm66737943wrw.33.2019.07.30.14.20.16 for (version=TLS1_3 cipher=AEAD-AES256-GCM-SHA384 bits=256/256); Tue, 30 Jul 2019 14:20:16 -0700 (PDT) From: Ross Burton To: openembedded-core@lists.openembedded.org Date: Tue, 30 Jul 2019 22:20:12 +0100 Message-Id: <20190730212012.24115-2-ross.burton@intel.com> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190730212012.24115-1-ross.burton@intel.com> References: <20190730212012.24115-1-ross.burton@intel.com> MIME-Version: 1.0 Subject: [OE-core] [PATCH 2/2] perl: add PACKAGECONFIG for db X-BeenThere: openembedded-core@lists.openembedded.org X-Mailman-Version: 2.1.12 Precedence: list List-Id: Patches and discussions about the oe-core layer List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: openembedded-core-bounces@lists.openembedded.org Errors-To: openembedded-core-bounces@lists.openembedded.org perl-cross makes it easy to cleanly disable the use of Berkeley DB if desired, so add a PACKAGECONFIG for this. More of the dependencies (such as gdbm) can be controlled in the same way, but Berkeley DB is a prime contender: it's a large library which we have to ship an old release for due to licensing issues, so there are users who may want to strip it out of builds entirely. Signed-off-by: Ross Burton --- meta/recipes-devtools/perl/perl_5.30.0.bb | 14 ++++++++++---- 1 file changed, 10 insertions(+), 4 deletions(-) -- 2.20.1 -- _______________________________________________ Openembedded-core mailing list Openembedded-core@lists.openembedded.org http://lists.openembedded.org/mailman/listinfo/openembedded-core diff --git a/meta/recipes-devtools/perl/perl_5.30.0.bb b/meta/recipes-devtools/perl/perl_5.30.0.bb index ce280cb1cbd..a221bce52bd 100644 --- a/meta/recipes-devtools/perl/perl_5.30.0.bb +++ b/meta/recipes-devtools/perl/perl_5.30.0.bb @@ -35,10 +35,13 @@ S = "${WORKDIR}/perl-${PV}" inherit upstream-version-is-even -DEPENDS += "db gdbm zlib virtual/crypt" +DEPENDS += "gdbm zlib virtual/crypt" PERL_LIB_VER = "${@'.'.join(d.getVar('PV').split('.')[0:2])}.0" +PACKAGECONFIG ??= "bdb" +PACKAGECONFIG[bdb] = ",-Ui_db,db" + # Don't generate comments in enc2xs output files. They are not reproducible export ENC2XS_NO_COMMENTS = "1" @@ -56,7 +59,8 @@ do_configure_class-target() { -Duseshrplib \ -Dsoname=libperl.so.5 \ -Dvendorprefix=${prefix} \ - -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux + -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \ + ${PACKAGECONFIG_CONFARGS} #perl.c uses an ARCHLIB_EXP define to generate compile-time code that #adds the archlibexp path to @INC during run-time initialization of a @@ -79,7 +83,8 @@ do_configure_class-nativesdk() { -Duseshrplib \ -Dsoname=libperl.so.5 \ -Dvendorprefix=${prefix} \ - -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux + -Darchlibexp=${STAGING_LIBDIR}/perl5/${PV}/${TARGET_ARCH}-linux \ + ${PACKAGECONFIG_CONFARGS} # See the comment above sed -i -e "s,${STAGING_LIBDIR},${libdir},g" config.h @@ -91,7 +96,8 @@ do_configure_class-native() { -Duseshrplib \ -Dsoname=libperl.so.5 \ -Dvendorprefix=${prefix} \ - -Ui_xlocale + -Ui_xlocale \ + ${PACKAGECONFIG_CONFARGS} } do_configure_append() {