Source-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libthrift devel/libthrift: fix bmake warnings ab...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e4b476e2e732
branches:  trunk
changeset: 430890:e4b476e2e732
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Tue May 05 19:02:36 2020 +0000

description:
devel/libthrift: fix bmake warnings about duplicate perl tool

Adding perl to TOOLS_BROKEN leads to these warnings:

make: "/usr/pkgsrc/mk/tools/create.mk" line 142:
warning: duplicate script for target ".../.tools/bin/perl" ignored

Since perl is not needed to build this package, disable it in the
configure script.

diffstat:

 devel/libthrift/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r 2e8db11f16c4 -r e4b476e2e732 devel/libthrift/Makefile
--- a/devel/libthrift/Makefile  Tue May 05 18:37:37 2020 +0000
+++ b/devel/libthrift/Makefile  Tue May 05 19:02:36 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.80 2020/04/26 09:57:24 rillig Exp $
+# $NetBSD: Makefile,v 1.81 2020/05/05 19:02:36 rillig Exp $
 
 PKGREVISION= 2
 .include "../../devel/thrift/Makefile.common"
@@ -10,10 +10,10 @@
 BUILD_DIRS=    lib/cpp
 
 CONFIGURE_ENV+=                THRIFT=${PREFIX}/bin/thrift
+CONFIGURE_ENV+=                ac_cv_prog_PERL= # none, not needed
 PKGCONFIG_OVERRIDE=    lib/cpp/thrift-nb.pc.in
 PKGCONFIG_OVERRIDE+=   lib/cpp/thrift-z.pc.in
 PKGCONFIG_OVERRIDE+=   lib/cpp/thrift.pc.in
-TOOLS_BROKEN+=         perl # suppress warning about USE_TOOLS+=perl
 
 .include "../../devel/boost-headers/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"



Home | Main Index | Thread Index | Old Index