Subject: Re: pkg/32209
To: None <wulf@netbsd.org, gnats-admin@netbsd.org, pkgsrc-bugs@netbsd.org,>
From: Berndt Josef Wulf <wulf@ping.net.au>
List: pkgsrc-bugs
Date: 01/04/2006 08:25:03
The following reply was made to PR pkg/32209; it has been noted by GNATS.

From: Berndt Josef Wulf <wulf@ping.net.au>
To: pkgsrc-bugs@netbsd.org, gnats-admin@netbsd.org
Cc: 
Subject: Re: pkg/32209
Date: Wed, 4 Jan 2006 15:24:24 +1030

 G'day,
 
 it appears rrdtool tries to build the tcl bindings. The standard installation 
 doesn't require nor configure these.
 
 Where are your packages installed - /usr/pkg or /usr/local.
 
 I suspect that you have tcl installed in /usr/local because the configure 
 script for rrdtool searches for the tclConfig.sh file in /usr/lib 
 aund /usr/local/lib and , if found, will build the tcl bindings. This is not 
 a problem if packages, including tcl, are installed /usr/pkg, the default 
 installation path.
 
 The patch below should fix this. Can you please apply this patch, rebuild 
 rrdtool and report back?
 
 Thanks,
 
 Berndt
 
 ===================================================================
 RCS file: /cvsroot/pkgsrc/databases/rrdtool/Makefile,v
 retrieving revision 1.42
 diff -u -r1.42 Makefile
 --- Makefile    5 Dec 2005 20:50:01 -0000       1.42
 +++ Makefile    4 Jan 2006 03:48:27 -0000
 @@ -21,6 +21,8 @@
 
  CONFIGURE_ARGS+=       --enable-shared
  CONFIGURE_ARGS+=       --with-perl-options=${MAKE_PARAMS:Q}
 +CONFIGURE_ARGS+=       --disable-tcl
 +CONFIGURE_ARGS+=       --disable-python
 
  PERL5_CONFIGURE=       NO
  PERL5_PACKLIST+=       auto/RRDp/.packlist