From patchwork Mon Aug 13 17:56:43 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christopher McCrory X-Patchwork-Id: 957094 Return-Path: X-Original-To: incoming-buildroot@patchwork.ozlabs.org Delivered-To: patchwork-incoming-buildroot@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (mailfrom) smtp.mailfrom=busybox.net (client-ip=140.211.166.137; helo=fraxinus.osuosl.org; envelope-from=buildroot-bounces@busybox.net; receiver=) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b="n/KHBcaj"; dkim-atps=neutral Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 41q3Mf24mBz9sBD for ; Tue, 14 Aug 2018 03:57:01 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id D3A4285462; Mon, 13 Aug 2018 17:56:58 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 1CCR0Q_15Kxc; Mon, 13 Aug 2018 17:56:57 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id A4331854AF; Mon, 13 Aug 2018 17:56:57 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from hemlock.osuosl.org (smtp2.osuosl.org [140.211.166.133]) by ash.osuosl.org (Postfix) with ESMTP id B9CBE1BFF61 for ; Mon, 13 Aug 2018 17:56:56 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by hemlock.osuosl.org (Postfix) with ESMTP id B7791822E0 for ; Mon, 13 Aug 2018 17:56:56 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from hemlock.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id Xx7ZGcW0A1SD for ; Mon, 13 Aug 2018 17:56:56 +0000 (UTC) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from mail-pg1-f179.google.com (mail-pg1-f179.google.com [209.85.215.179]) by hemlock.osuosl.org (Postfix) with ESMTPS id 4FB3782262 for ; Mon, 13 Aug 2018 17:56:56 +0000 (UTC) Received: by mail-pg1-f179.google.com with SMTP id h12-v6so7872402pgs.3 for ; Mon, 13 Aug 2018 10:56:56 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id; bh=wt0jkFtU1f3j0RxMZRk3lS09BIA/VuVrKSkuWPF5zbE=; b=n/KHBcajyiRlRqitqroL6ZQj6AQSQBirTeqMt+JVAc0lqcVpSYR9M8C4NhKLDijZxc ad2MO5G6kN55cIE97cX/EJQD4I95CBLOTAeSOBb6aoX5GmVPvh4La3LsDpfkPnKreS/B L8C7L1QQBfYmYo62crhbOhX1AoF9k/nbZ8HWUMDBTLLFRb37YYhIezHB6bANFmLTIszk NZ3ZQsjckDz2Us1oBpIXEKeIrbirbCYB6VPA9mFvkeWJ92grjS7id1zWvrm8u443W67Z pgzRWKjgeAru0yaRKIwqM97DCV+WngysA8XpjNvrR8TGODGQ7pUzaspE6yzJMm0SkSLr WERQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=wt0jkFtU1f3j0RxMZRk3lS09BIA/VuVrKSkuWPF5zbE=; b=j2TGSAd30c+K/4lu8ldTYvQjeAgiLqIUzDsxeLz+u20ZFMuXvlXoS0OPpY+LYq7G0X ZlolpRyQoyeRdzL/q+VjxSxoVOCDarQIV0mjzFIxiOlZ8mYepme9N+v9wG5Y8qptaTvd 3KP75Kjs/TlLWnZgVKsJwUtenXshHNcMMADBeNdo7yZUvHaSbL1q1m7SX95CkWfdJj3Q veVknF8yoj9CyufYwiVmVjs9lLt/qmLCYMYlMzLMSHh6gnQtghzjOQdMQnSsHcQxl5/o jh3ZiFgju6o3iXbcu7Vbk1/7svssbuH9zI/46m/99FGxsp2rNlXPhQmS+vxAumckFk4m kA0A== X-Gm-Message-State: AOUpUlH+c1QyyKGDn4cx574PxfS0zJJxcFf5w8L+JBFWCkUaZp9DCaNv YpsHOrmVyt+JxbfT3Uria7L5XMJu X-Google-Smtp-Source: AA+uWPwcdaCYoMjTJHCSF3wGurKNhucTKF4X6WSBJIsSXboBTmoP3fZzLV3aIbP9hAqZXpz8YRMt8A== X-Received: by 2002:a63:1316:: with SMTP id i22-v6mr17451633pgl.403.1534183015593; Mon, 13 Aug 2018 10:56:55 -0700 (PDT) Received: from localhost.localdomain ([2600:1012:b047:e26:34bd:569e:80d9:a2f8]) by smtp.gmail.com with ESMTPSA id i7-v6sm15506335pgs.17.2018.08.13.10.56.54 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 13 Aug 2018 10:56:55 -0700 (PDT) From: Christopher McCrory To: buildroot@buildroot.org Date: Mon, 13 Aug 2018 10:56:43 -0700 Message-Id: <20180813175645.11088-1-chrismcc@gmail.com> X-Mailer: git-send-email 2.14.4 Subject: [Buildroot] [RFC PATCH 0/2] Hack for perl module subdirectories X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.24 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Christopher McCrory MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" When perl modules have Makefiles in subdirectories, not all of the arguments to Makefile.PL get propagated to subdirectory/Makefile.PL. This causes compile failures. Two examples are template-toolkit and xml-parser. A hack is to fix them after the usual configure step. Something like this: $(SED) "s:^AR = .*:AR = $(TARGET_AR):g" $(@D)/Expat/Makefile for AR, CC, xFLAGS, etc. This "works", but there should be a better way. Hence the RFC. Also there is a package, libxml-parser-perl, that is a host only perl xml-parser package needed by host-intltool and metacity. Should they stay seprate or be merged? Christopher McCrory (2): perl-template-toolkit: new package perl-xml-parser: new package DEVELOPERS | 2 ++ package/Config.in | 2 ++ package/perl-template-toolkit/Config.in | 11 ++++++++ .../perl-template-toolkit.hash | 6 ++++ .../perl-template-toolkit/perl-template-toolkit.mk | 32 ++++++++++++++++++++++ 5 files changed, 53 insertions(+) create mode 100644 package/perl-template-toolkit/Config.in create mode 100644 package/perl-template-toolkit/perl-template-toolkit.hash create mode 100644 package/perl-template-toolkit/perl-template-toolkit.mk