From: Christopher McCrory <chrismcc@gmail.com>
To: buildroot@busybox.net
Subject: [Buildroot] [PATCH 2/3] perl: add vendorprefix
Date: Fri, 10 Aug 2018 07:47:24 -0700 [thread overview]
Message-ID: <20180810144724.16347-1-chrismcc@gmail.com> (raw)
This adds vendorprefix to configure args
Signed-off-by: Christopher McCrory <chrismcc@gmail.com>
---
package/perl/perl.mk | 3 +++
1 file changed, 3 insertions(+)
diff --git a/package/perl/perl.mk b/package/perl/perl.mk
index b0eea3eff4..19a8f95f7b 100644
--- a/package/perl/perl.mk
+++ b/package/perl/perl.mk
@@ -48,6 +48,7 @@ PERL_CONF_OPTS = \
--target=$(GNU_TARGET_NAME) \
--target-tools-prefix=$(TARGET_CROSS) \
--prefix=/usr \
+ --vendorprefix=/usr \
-Dld="$(TARGET_CC)" \
-Dccflags="$(TARGET_CFLAGS)" \
-Dldflags="$(TARGET_LDFLAGS) -lm" \
@@ -92,6 +93,7 @@ endef
HOST_PERL_CONF_OPTS = \
-des \
-Dprefix="$(HOST_DIR)" \
+ -Dvendorprefix="$(HOST_DIR)" \
-Dcc="$(HOSTCC)"
define HOST_PERL_CONFIGURE_CMDS
@@ -111,6 +113,7 @@ $(eval $(generic-package))
$(eval $(host-generic-package))
define PERL_FINALIZE_TARGET
+ mkdir -p $(TARGET_DIR)/usr/lib/perl5/vendor_perl/$(PERL_VERSION)/$(PERL_ARCHNAME)
rm -rf $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/pod
rm -rf $(TARGET_DIR)/usr/lib/perl5/$(PERL_VERSION)/$(PERL_ARCHNAME)/CORE
find $(TARGET_DIR)/usr/lib/perl5/ -name 'extralibs.ld' -print0 | xargs -0 rm -f
--
2.14.4
next reply other threads:[~2018-08-10 14:47 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-08-10 14:47 Christopher McCrory [this message]
2018-08-10 18:13 ` [Buildroot] [PATCH 2/3] perl: add vendorprefix François Perrad
2018-08-10 18:45 ` Christopher McCrory
2018-08-11 10:14 ` François Perrad
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20180810144724.16347-1-chrismcc@gmail.com \
--to=chrismcc@gmail.com \
--cc=buildroot@busybox.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox