diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 3ee57c46da..a7b8f720b5 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -1199,7 +1199,7 @@ sub GetFakeConfigure $cfg .= ' --with-perl' if ($self->{options}->{perl}); $cfg .= ' --with-python' if ($self->{options}->{python}); my $port = $self->{options}->{'--with-pgport'}; - $cfg .= " --with-pgport=$port" if defined($port) + $cfg .= " --with-pgport=$port" if defined($port); return $cfg; }