It is not needed with the --with-pkg-config-libdir option which was added back in commit 69ef197a (main/ncurses: fix build - location of pkg-config directory)
This reverts commit 6d4129d6.