projects
/
feed
/
packages.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5185017
)
lang/perl: Use target headers for external modules
author
Marcel Denia
<naoir@gmx.net>
Tue, 22 Jul 2014 14:15:52 +0000
(16:15 +0200)
committer
Marcel Denia
<naoir@gmx.net>
Tue, 22 Jul 2014 14:21:38 +0000
(16:21 +0200)
Before, external modules actually used host-perl headers.
Aside from obviously being the wrong thing to do, it made them misbehave if
host and target architectures differ too much.
Signed-off-by: Marcel Denia <naoir@gmx.net>
lang/perl/perlmod.mk
patch
|
blob
|
history
diff --git
a/lang/perl/perlmod.mk
b/lang/perl/perlmod.mk
index 09d2f465acc01bd161d9158abfdbf8fb12a433b1..f8f0d036c98f732014e5bd00a1ae2ce07bcb29e1 100644
(file)
--- a/
lang/perl/perlmod.mk
+++ b/
lang/perl/perlmod.mk
@@
-63,6
+63,7
@@
define perlmod/Configure
LINKTYPE=dynamic \
DESTDIR=$(PKG_INSTALL_DIR) \
);
+ sed 's!^PERL_INC = .*!PERL_INC = $(STAGING_DIR)/usr/lib/perl5/5.20/CORE/!' -i $(PKG_BUILD_DIR)/Makefile
endef
define perlmod/Compile