=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/pkg-config/pkg-config,v retrieving revision 1.44 retrieving revision 1.45 diff -c -r1.44 -r1.45 *** src/usr.bin/pkg-config/pkg-config 2011/05/25 12:16:34 1.44 --- src/usr.bin/pkg-config/pkg-config 2011/06/02 12:46:03 1.45 *************** *** 1,5 **** #!/usr/bin/perl ! # $OpenBSD: pkg-config,v 1.44 2011/05/25 12:16:34 jasper Exp $ # $CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $ # Copyright (c) 2006 Chris Kuethe --- 1,5 ---- #!/usr/bin/perl ! # $OpenBSD: pkg-config,v 1.45 2011/06/02 12:46:03 sthen Exp $ # $CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $ # Copyright (c) 2006 Chris Kuethe *************** *** 21,27 **** use warnings; use Getopt::Long; use File::Basename; - use Memoize; use OpenBSD::PkgConfig; my @PKGPATH = qw(/usr/lib/pkgconfig /usr/local/lib/pkgconfig /usr/X11R6/lib/pkgconfig); --- 21,26 ---- *************** *** 104,115 **** 'variable=s' => \$mode{variable}, 'define-variable=s' => $variables, ); - - # handle_config() is not a slow routine per se, but we spend - # a lot of time in it, so cache the return values. The most gain - # is from configure scripts/build commands which query several modules - # at the same time. - memoize('handle_config'); # Initial value of printerr depends on the options... if (!defined $mode{printerr}) { --- 103,108 ----