pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/p5-MaxMind-DB-Reader Add PERL_REPLACE to fix foll...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0bea7fe420b9
branches:  trunk
changeset: 333416:0bea7fe420b9
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon May 06 15:19:25 2019 +0000

description:
Add PERL_REPLACE  to fix following package error

Checking for work-directory references in p5-MaxMind-DB-Reader-1.000013
ERROR: /usr/pkg/lib/perl5/vendor_perl/bin/mmdb-dump-metadata:   #!/tmp/net/p5-MaxMind-DB-Reader/work/.tools/bin/env perl
ERROR: /usr/pkg/lib/perl5/vendor_perl/bin/mmdb-dump-search-tree:        #!/tmp/net/p5-MaxMind-DB-Reader/work/.tools/bin/env perl
ERROR: *** The above files still have references to the build directory.

diffstat:

 net/p5-MaxMind-DB-Reader/Makefile |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 5c19b387bb24 -r 0bea7fe420b9 net/p5-MaxMind-DB-Reader/Makefile
--- a/net/p5-MaxMind-DB-Reader/Makefile Mon May 06 15:11:24 2019 +0000
+++ b/net/p5-MaxMind-DB-Reader/Makefile Mon May 06 15:19:25 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1 2019/03/21 10:29:23 he Exp $
+# $NetBSD: Makefile,v 1.2 2019/05/06 15:19:25 mef Exp $
 
 DISTNAME=      MaxMind-DB-Reader-1.000013
 PKGNAME=       p5-${DISTNAME}
@@ -33,6 +33,9 @@
 TEST_DEPENDS+= p5-Test-Requires>=0:../../devel/p5-Test-Requires
 TEST_DEPENDS+= p5-MaxMind-DB-Common>=0:../../net/p5-MaxMind-DB-Common
 
+REPLACE_PERL=  bin/mmdb-dump-metadata
+REPLACE_PERL+= bin/mmdb-dump-search-tree
+
 PERL5_PACKLIST=        auto/MaxMind/DB/Reader/.packlist
 
 .include "../../lang/perl5/module.mk"



Home | Main Index | Thread Index | Old Index