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/) {