=================================================================== RCS file: /cvsrepo/anoncvs/cvs/src/usr.bin/pkg-config/pkg-config,v retrieving revision 1.79 retrieving revision 1.80 diff -c -r1.79 -r1.80 *** src/usr.bin/pkg-config/pkg-config 2013/03/31 13:58:01 1.79 --- src/usr.bin/pkg-config/pkg-config 2013/05/30 00:02:02 1.80 *************** *** 1,5 **** #!/usr/bin/perl ! # $OpenBSD: pkg-config,v 1.79 2013/03/31 13:58:01 brad 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.80 2013/05/30 00:02:02 jasper Exp $ # $CSK: pkgconfig.pl,v 1.39 2006/11/27 16:26:20 ckuethe Exp $ # Copyright (c) 2006 Chris Kuethe *************** *** 358,366 **** # Check if we're dealing with an empty file, but don't error out just # yet, we'll do that when we realize there's no Name field. if (stat($f)->size == 0) { ! my $p = $f; ! $p =~ s/(^.*\/)(.*?)$/$2/g; ! say_error("Package file '$p' appears to be empty"); } foreach (@required_elems) { --- 358,364 ---- # Check if we're dealing with an empty file, but don't error out just # yet, we'll do that when we realize there's no Name field. if (stat($f)->size == 0) { ! say_error("Package file '$f' appears to be empty"); } foreach (@required_elems) {