Skip to content

Commit

Permalink
lua-lpeg: Fix patchfile
Browse files Browse the repository at this point in the history
  • Loading branch information
ryandesign committed Oct 1, 2023
1 parent 7091b02 commit bfa4af4
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 8 deletions.
2 changes: 1 addition & 1 deletion lua/lua-lpeg/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,9 @@ PortSystem 1.0
PortGroup luarocks_org 1.0

name lua-lpeg
epoch 1
version 1.1.0
revision 0
epoch 1
luarocks.rock lpeg-${version}-1.src.rock
license MIT
maintainers {judaew @judaew} openmaintainer
Expand Down
13 changes: 6 additions & 7 deletions lua/lua-lpeg/files/patch-makefile-add-dylib.diff
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
--- makefile.orig 2019-03-11 16:08:29.000000000 +0200
+++ makefile 2023-06-25 01:12:10.669704347 +0300
--- makefile.orig 2023-06-26 11:30:55.000000000 -0500
+++ makefile 2023-10-01 14:04:15.000000000 -0500
@@ -1,5 +1,6 @@
LIBNAME = lpeg
LUADIR = ../lua/
++PREFIX =
LUADIR = ./lua/
+PREFIX =

COPT = -O2 -DNDEBUG
# COPT = -g
@@ -36,7 +37,10 @@
# COPT = -O0 -DLPEG_DEBUG -g
@@ -39,7 +40,10 @@
$(MAKE) lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"

lpeg.so: $(FILES)
Expand All @@ -19,4 +19,3 @@

$(FILES): makefile


0 comments on commit bfa4af4

Please sign in to comment.