From: Francois Perrad Date: Wed, 8 Jan 2014 12:27:27 +0000 (+0100) Subject: perl-cross: workaround with PERL5LIB no longer needed X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=1bedb6b30bcc796fd0da70f269271c388b3965e1;p=buildroot.git perl-cross: workaround with PERL5LIB no longer needed Signed-off-by: Francois Perrad Signed-off-by: Peter Korsgaard --- diff --git a/package/perl/perl.mk b/package/perl/perl.mk index bf8eac212c..ec94e4fa34 100644 --- a/package/perl/perl.mk +++ b/package/perl/perl.mk @@ -82,14 +82,12 @@ define PERL_CONFIGURE_CMDS $(SED) 's/UNKNOWN-/Buildroot $(BR2_VERSION_FULL) /' $(@D)/patchlevel.h endef -# perlcross's miniperl_top forgets base, which is required by mktables. -# Instead of patching, it's easier to just set PERL5LIB define PERL_BUILD_CMDS - PERL5LIB=$(@D)/dist/base/lib $(MAKE1) -C $(@D) all + $(MAKE1) -C $(@D) all endef define PERL_INSTALL_STAGING_CMDS - PERL5LIB=$(@D)/dist/base/lib $(MAKE1) -C $(@D) DESTDIR="$(STAGING_DIR)" install.perl + $(MAKE1) -C $(@D) DESTDIR="$(STAGING_DIR)" install.perl endef PERL_INSTALL_TARGET_GOALS = install.perl @@ -99,7 +97,7 @@ endif define PERL_INSTALL_TARGET_CMDS - PERL5LIB=$(@D)/dist/base/lib $(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" $(PERL_INSTALL_TARGET_GOALS) + $(MAKE1) -C $(@D) DESTDIR="$(TARGET_DIR)" $(PERL_INSTALL_TARGET_GOALS) endef $(eval $(generic-package))