shrink patch, no package change
This commit is contained in:
parent
08dfc2c1ce
commit
99feaefe73
@ -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
|
SHARED_ONLY= Yes
|
||||||
|
|
||||||
@ -20,9 +20,6 @@ MODULES= lang/lua
|
|||||||
ALL_TARGET= lpeg.so
|
ALL_TARGET= lpeg.so
|
||||||
MAKE_FILE= makefile
|
MAKE_FILE= makefile
|
||||||
|
|
||||||
pre-configure:
|
|
||||||
${SUBST_CMD} ${WRKSRC}/makefile
|
|
||||||
|
|
||||||
do-install:
|
do-install:
|
||||||
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DATADIR}
|
${INSTALL_DATA_DIR} ${MODLUA_LIBDIR} ${MODLUA_DATADIR}
|
||||||
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lpeg
|
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/lpeg
|
||||||
|
@ -1,7 +1,7 @@
|
|||||||
$OpenBSD: patch-lpeg_c,v 1.3 2011/06/20 21:40:37 jasper Exp $
|
$OpenBSD: patch-lpeg_c,v 1.4 2011/06/21 06:09:34 jasper Exp $
|
||||||
--- lpeg.c.orig Wed Dec 2 12:15:37 2009
|
--- lpeg.c.orig Wed Feb 16 16:03:25 2011
|
||||||
+++ lpeg.c Wed Dec 2 12:15:56 2009
|
+++ lpeg.c Mon Jun 20 23:41:43 2011
|
||||||
@@ -2134,7 +2134,7 @@ static int type_l (lua_State *L) {
|
@@ -2268,7 +2268,7 @@ static int type_l (lua_State *L) {
|
||||||
static void createcat (lua_State *L, const char *catname, int (catf) (int)) {
|
static void createcat (lua_State *L, const char *catname, int (catf) (int)) {
|
||||||
Instruction *p = newcharset(L);
|
Instruction *p = newcharset(L);
|
||||||
int i;
|
int i;
|
||||||
|
@ -1,10 +1,9 @@
|
|||||||
$OpenBSD: patch-makefile,v 1.3 2011/06/20 21:40:37 jasper Exp $
|
$OpenBSD: patch-makefile,v 1.4 2011/06/21 06:09:34 jasper Exp $
|
||||||
--- makefile.orig Mon Jun 20 23:35:56 2011
|
--- makefile.orig Wed Feb 16 16:03:25 2011
|
||||||
+++ makefile Mon Jun 20 23:36:51 2011
|
+++ makefile Mon Jun 20 23:42:11 2011
|
||||||
@@ -1,7 +1,7 @@
|
@@ -1,7 +1,7 @@
|
||||||
LIBNAME = lpeg
|
LIBNAME = lpeg
|
||||||
-LUADIR = /usr/include/lua5.1/
|
LUADIR = /usr/include/lua5.1/
|
||||||
+LUADIR = ${LOCALBASE}/include/
|
|
||||||
|
|
||||||
-COPT = -O2 -DNDEBUG
|
-COPT = -O2 -DNDEBUG
|
||||||
+COPT = -O2 -DNDEBUG -fPIC -shared
|
+COPT = -O2 -DNDEBUG -fPIC -shared
|
||||||
|
Loading…
x
Reference in New Issue
Block a user