$OpenBSD: patch-qtwebkit_Tools_qmake_mkspecs_features_default_pre_prf,v 1.2 2015/04/19 13:18:28 zhuk Exp $
Use gflex instead of flex from base system, or things won't work.
--- qtwebkit/Tools/qmake/mkspecs/features/default_pre.prf.ports.orig	Tue Feb 17 07:57:00 2015
+++ qtwebkit/Tools/qmake/mkspecs/features/default_pre.prf	Wed Apr  8 00:41:38 2015
@@ -105,7 +105,11 @@ if(win32|mac):!macx-xcode {
 
 # A newer version of flex is required on Windows. At the moment the only
 # one that appears to provide binaries and is not cygwin is winflex.
+#
+# On OpenBSD, you'll need newer flex from ports/packages, named gflex.
+# The flex program from base system won't satisfy our needs.
 FLEX = flex
+openbsd: FLEX = gflex
 equals(QMAKE_HOST.os, Windows): FLEX = win_flex
 
 BIN_EXTENSION =
