Skip to contentSkip to conversation

pkg-perl: move PERL_INC in configure step

PATCH New Francois Perrad 2 participants 2 messages Sep 9, 2018

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pkg-perl: move PERL_INC in configure step

this workaround for old ExtUtils-MakeMaker is now useless

---
 package/pkg-perl.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
package/pkg-perl.mk +1 -1
index b0d5789ac..2888872dc 100644
@@ -102,6 +102,7 @@ define $(2)_CONFIGURE_CMDS
 			LD="$$(TARGET_CC)" \
 			LDDLFLAGS="-shared $$(TARGET_LDFLAGS)" \
 			LDFLAGS="$$(TARGET_LDFLAGS)" \
+			PERL_INC=$$(STAGING_DIR)/usr/lib/$$(PERL_INSTALL_NAME)/$$(PERL_VERSION)/$$(PERL_ARCHNAME)/CORE \
 			DESTDIR=$$(TARGET_DIR) \
 			INSTALLDIRS=vendor \
 			INSTALLVENDORLIB=/usr/lib/perl5/site_perl/$$(PERL_VERSION) \
@@ -147,7 +148,6 @@ define $(2)_BUILD_CMDS
 		$$(PERL_RUN) Build $$($(2)_BUILD_OPTS) build; \
 	else \
 		$$(MAKE1) \
-			PERL_INC=$$(STAGING_DIR)/usr/lib/perl5/$$(PERL_VERSION)/$$(PERL_ARCHNAME)/CORE \
 			FIXIN=: \
 			$$($(2)_BUILD_OPTS) pure_all; \
 	fi
Signature · 1 line
2.17.1
#1 lore raw

PATCH 1/1 pkg-perl: move PERL_INC in configure step

Hello,

Quoted 6 lines · Francois Perrad

this workaround for old ExtUtils-MakeMaker is now useless

---
 package/pkg-perl.mk | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Applied to master, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin (formerly Free Electrons)
Embedded Linux and Kernel engineering
https://bootlin.com