From d69fcb9caef1ac1f38241645d4fb9f7e0ce02a70 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 3ee57c46da5..a7b8f720b55 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; }