From 131df2a83b9d4abd7969103d6623382fdd641a1f Mon Sep 17 00:00:00 2001 From: Alexander Hansen Date: Thu, 29 Mar 2012 10:03:26 -0700 Subject: [PATCH] Put in a dummy pathname if no system SDKs are found to avoid "Use of uninitialized value $sdkpath in concatenation (.) or string at /sw/lib/perl5/Fink/VirtPackage.pm line 701." --- perlmod/Fink/VirtPackage.pm | 1 + 1 file changed, 1 insertion(+) diff --git a/perlmod/Fink/VirtPackage.pm b/perlmod/Fink/VirtPackage.pm index 2a646c30d..39eb0b2da 100644 --- a/perlmod/Fink/VirtPackage.pm +++ b/perlmod/Fink/VirtPackage.pm @@ -666,6 +666,7 @@ as part of the Xcode tools. last if $sdkpath; } } + $sdkpath="/not/a/real/path" if !$sdkpath; for my $dir (sort @SDKDIRS) { my $isuniversal = 0; if ($dir =~ /MacOSX([\d\.]+)(u?)\.sdk/) {