$OpenBSD: patch-makefile,v 1.10 2015/06/05 08:27:26 ajacoutot Exp $
--- makefile.orig	Wed Mar  4 18:34:17 2015
+++ makefile	Fri Jun  5 10:24:55 2015
@@ -1,5 +1,5 @@
 LIBNAME = lpeg
-LUADIR = ../lua/
+LUADIR = ${MODLUA_INCL_DIR}
 
 COPT = -O2
 # COPT = -DLPEG_DEBUG -g
@@ -15,7 +15,6 @@ CWARNS = -Wall -Wextra -pedantic \
 	-Wundef \
 	-Wwrite-strings \
 	-Wbad-function-cast \
-	-Wdeclaration-after-statement \
 	-Wmissing-prototypes \
 	-Wnested-externs \
 	-Wstrict-prototypes \
