Skip to content

RFC Hack for perl module subdirectories

Christopher McCrory buildroot 1 version New

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 RFC Latest2 patches 0 repliesNew

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/2perl-template-toolkit: new packageDEVELOPERS package/Config.in package/perl-template-toolkit/Config.in +2 more+51 -01 reply
1/2perl-template-toolkit: new package+0 -01 reply
1/2perl-template-toolkit: new package+0 -00 replies
2/2perl-xml-parser: new packageDEVELOPERS package/Config.in+2 -01 reply
2/2perl-xml-parser: new package+0 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v1 yet.

Read the v1 thread

Cover letter [Buildroot] [RFC PATCH 0/2] Hack for perl module subdirectories

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
Signature · 1 line
2.14.4