2.3.18-1: add -DUSE_GPM=on and depend on gpm-dev. #12982 (closed) means this ought work; let's see.
-DUSE_GPM=on