Buildroot Archive on lore.kernel.org
 help / color / mirror / Atom feed
* [Buildroot] [RFC PATCH 0/2] Hack for perl module subdirectories
@ 2018-08-13 17:56 Christopher McCrory
  2018-08-13 17:56 ` [Buildroot] [RFC PATCH 1/2] perl-template-toolkit: new package Christopher McCrory
                   ` (2 more replies)
  0 siblings, 3 replies; 10+ messages in thread
From: Christopher McCrory @ 2018-08-13 17:56 UTC (permalink / raw)
  To: 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

-- 
2.14.4

^ permalink raw reply	[flat|nested] 10+ messages in thread

end of thread, other threads:[~2018-08-15 20:24 UTC | newest]

Thread overview: 10+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-08-13 17:56 [Buildroot] [RFC PATCH 0/2] Hack for perl module subdirectories Christopher McCrory
2018-08-13 17:56 ` [Buildroot] [RFC PATCH 1/2] perl-template-toolkit: new package Christopher McCrory
2018-08-14  4:21   ` François Perrad
2018-08-15 12:03     ` Christopher McCrory
2018-08-15 18:06       ` François Perrad
2018-08-15 20:24         ` Christopher McCrory
2018-08-13 17:56 ` [Buildroot] [RFC PATCH 2/2] perl-xml-parser: " Christopher McCrory
2018-08-13 21:05   ` Thomas Petazzoni
2018-08-13 21:54     ` Christopher McCrory
2018-08-13 21:03 ` [Buildroot] [RFC PATCH 0/2] Hack for perl module subdirectories Thomas Petazzoni

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox