pkg-perl: move PERL_INC in configure step
this workaround for old ExtUtils-MakeMaker is now useless Signed-off-by: Francois Perrad <francois.perrad@gadz.org> Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
This commit is contained in:
parent
d55195e396
commit
ae94fff1c5
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user