perl: Allow changing the default directory for perlmod/Configure
authorMarcel Denia <redacted>
Sat, 2 May 2015 14:29:52 +0000 (16:29 +0200)
committerMarcel Denia <redacted>
Wed, 27 May 2015 00:03:56 +0000 (02:03 +0200)
Signed-off-by: Marcel Denia <redacted>
lang/perl/perlmod.mk

index 5b6ba1655233ccb11e6a99509fc816428d150e09..60d3335e04072de411f3d1f31dd46c47d0b024d8 100644 (file)
@@ -52,7 +52,7 @@ define perlmod/host/Install
 endef
 
 define perlmod/Configure
-       (cd $(PKG_BUILD_DIR); \
+       (cd $(if $(3),$(3),$(PKG_BUILD_DIR)); \
        PERL_MM_USE_DEFAULT=1 \
        $(2) \
        $(PERL_CMD) Makefile.PL \
git clone https://git.99rst.org/PROJECT