From 4ad45b9cb30762e703757db13e21d7c68c16903f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=C4=90o=C3=A0n=20Tr=E1=BA=A7n=20C=C3=B4ng=20Danh?= Date: Fri, 5 Feb 2021 16:44:07 +0700 Subject: [PATCH] build-style/perl-module: put . into @INC Fixing those build failure: - perl-Crypt-DH - perl-Curses-UI - perl-Data-MessagePack - perl-Encode-HanExtra - perl-Gtk2-Notify - perl-Plack-Middleware-Deflater - perl-Text-Markdown - perl-WWW-Curl --- common/build-style/perl-module.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/common/build-style/perl-module.sh b/common/build-style/perl-module.sh index c2d5b8ddeca..5b0f0ccde82 100644 --- a/common/build-style/perl-module.sh +++ b/common/build-style/perl-module.sh @@ -45,7 +45,7 @@ do_configure() { CFLAGS="$CFLAGS -I${XBPS_CROSS_BASE}/usr/include" \ LDFLAGS="$LDFLAGS -L${XBPS_CROSS_BASE}/usr/lib -lperl" \ LDDLFLAGS="-shared $CFLAGS -L${XBPS_CROSS_BASE}/usr/lib" \ - perl Makefile.PL ${configure_args} INSTALLDIRS=vendor + perl -I. Makefile.PL ${configure_args} INSTALLDIRS=vendor fi for i in ${perl_configure_dirs}; do @@ -57,7 +57,7 @@ do_configure() { CFLAGS="$CFLAGS -I${XBPS_CROSS_BASE}/usr/include" \ LDFLAGS="$LDFLAGS -L${XBPS_CROSS_BASE}/usr/lib -lperl" \ LDDLFLAGS="-shared $CFLAGS -L${XBPS_CROSS_BASE}/usr/lib -lperl" \ - perl Makefile.PL ${make_build_args} INSTALLDIRS=vendor + perl -I. Makefile.PL ${make_build_args} INSTALLDIRS=vendor else msg_error "*** ERROR: couldn't find $perlmkf, aborting **\n" fi