If I found the right PR: I think it was the one with php and mysqlnd. .if ${.CURDIR:M*/ports/lang56} CONFIGURE_ARGS+=--disable-mysqlnd .endif You have to cd in th e workdirectory and run ./configure --help to find the right CONFIGURE_ARGS.