From 40a05cf245b867f018a13e06ed3e9a2419a4090a Mon Sep 17 00:00:00 2001 From: Andrew Dunstan Date: Fri, 28 May 2021 09:35:11 -0400 Subject: [PATCH] fix syntax error --- src/tools/msvc/Solution.pm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/tools/msvc/Solution.pm b/src/tools/msvc/Solution.pm index 746b27d39d9..4a8b7b47731 100644 --- a/src/tools/msvc/Solution.pm +++ b/src/tools/msvc/Solution.pm @@ -899,7 +899,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; }