freebsd-ports/security/lua-bcrypt/files/patch-Makefile
Manuel Wiesinger 133bd2e5ea security/lua-bcrypt: 2.1-4=>2.3-1
- uses luarocks instead of gmake
- supports pre-c99 compilers

PR:		268067
Tested by:	bofh
Approved by:	mdw (Submitter is MAINTAINER)
Relnotes:  https://github.com/mikejsavage/lua-bcrypt/releases/tag/v2.3-1
2022-11-29 17:55:37 -06:00

11 lines
284 B
Text

--- Makefile.orig 2022-11-29 22:22:33 UTC
+++ Makefile
@@ -1,5 +1,7 @@
+CFLAGS+=-fPIC -Wall -Wextra
+
all:
- luarocks make CFLAGS="-O2 -fPIC -Wall -Wextra" --local
+ luarocks make --pack-binary-rock CFLAGS="${CFLAGS}"
debug:
luarocks make CFLAGS="-fPIC -g -Wall -Wextra" --local