Hi ports -- games/xminehunter is extremely old, the tarball and code is from 1997. I'm not sure it warrants more than this minimal fix.
Runs fine. OK? ~Brian
Index: Makefile =================================================================== RCS file: /cvs/ports/games/xminehunter/Makefile,v retrieving revision 1.31 diff -u -p -r1.31 Makefile --- Makefile 23 Oct 2017 17:10:50 -0000 1.31 +++ Makefile 16 Apr 2018 21:53:36 -0000 @@ -19,6 +19,8 @@ ALL_TARGET= xminehunter FAKE_FLAGS= INSTALL_BIN_PATH=${WRKINST}${PREFIX}/bin \ INSTALL_SCORE_PATH=${WRKINST}${PREFIX}/lib/X11/xminehunter MAKE_ENV+=MOTIFLIB='-L${LOCALBASE}/lib -lXm' +MAKE_FLAGS= CFLAGS="${CXXFLAGS} -std=gnu++98 \ + -DMINE_SCORE_PATH=\\\"${LOCALBASE}/lib/X11/xminehunter\\\"" NO_TEST= Yes