From 99feaefe73babc933a982a7fa871386645b5901f Mon Sep 17 00:00:00 2001 From: jasper Date: Tue, 21 Jun 2011 06:09:34 +0000 Subject: [PATCH] shrink patch, no package change --- devel/lpeg/Makefile | 5 +---- devel/lpeg/patches/patch-lpeg_c | 8 ++++---- devel/lpeg/patches/patch-makefile | 9 ++++----- 3 files changed, 9 insertions(+), 13 deletions(-) diff --git a/devel/lpeg/Makefile b/devel/lpeg/Makefile index 7ec0c15d062..ca8d1ff9ea7 100644 --- a/devel/lpeg/Makefile +++ b/devel/lpeg/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.6 2011/06/20 21:40:37 jasper Exp $ +# $OpenBSD: Makefile,v 1.7 2011/06/21 06:09:34 jasper Exp $ SHARED_ONLY= Yes @@ -20,9 +20,6 @@ MODULES= lang/lua ALL_TARGET= lpeg.so MAKE_FILE= makefile -pre-configure: - ${SUBST_CMD} ${WRKSRC}/makefile - do-install: ${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DATADIR} ${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lpeg diff --git a/devel/lpeg/patches/patch-lpeg_c b/devel/lpeg/patches/patch-lpeg_c index a041f681642..4309c34579c 100644 --- a/devel/lpeg/patches/patch-lpeg_c +++ b/devel/lpeg/patches/patch-lpeg_c @@ -1,7 +1,7 @@ -$OpenBSD: patch-lpeg_c,v 1.3 2011/06/20 21:40:37 jasper Exp $ ---- lpeg.c.orig Wed Dec 2 12:15:37 2009 -+++ lpeg.c Wed Dec 2 12:15:56 2009 -@@ -2134,7 +2134,7 @@ static int type_l (lua_State *L) { +$OpenBSD: patch-lpeg_c,v 1.4 2011/06/21 06:09:34 jasper Exp $ +--- lpeg.c.orig Wed Feb 16 16:03:25 2011 ++++ lpeg.c Mon Jun 20 23:41:43 2011 +@@ -2268,7 +2268,7 @@ static int type_l (lua_State *L) { static void createcat (lua_State *L, const char *catname, int (catf) (int)) { Instruction *p = newcharset(L); int i; diff --git a/devel/lpeg/patches/patch-makefile b/devel/lpeg/patches/patch-makefile index 5d0bbdef48b..f2f8f370a7a 100644 --- a/devel/lpeg/patches/patch-makefile +++ b/devel/lpeg/patches/patch-makefile @@ -1,10 +1,9 @@ -$OpenBSD: patch-makefile,v 1.3 2011/06/20 21:40:37 jasper Exp $ ---- makefile.orig Mon Jun 20 23:35:56 2011 -+++ makefile Mon Jun 20 23:36:51 2011 +$OpenBSD: patch-makefile,v 1.4 2011/06/21 06:09:34 jasper Exp $ +--- makefile.orig Wed Feb 16 16:03:25 2011 ++++ makefile Mon Jun 20 23:42:11 2011 @@ -1,7 +1,7 @@ LIBNAME = lpeg --LUADIR = /usr/include/lua5.1/ -+LUADIR = ${LOCALBASE}/include/ + LUADIR = /usr/include/lua5.1/ -COPT = -O2 -DNDEBUG +COPT = -O2 -DNDEBUG -fPIC -shared