mirror of
https://github.com/beard7n/bsdports.git
synced 2026-04-10 10:31:20 +02:00
24 lines
895 B
Plaintext
24 lines
895 B
Plaintext
--- ./Makefile.orig 2012-03-01 15:22:50.000000000 +0300
|
|
+++ ./Makefile 2020-07-16 22:34:11.721797000 +0200
|
|
@@ -11,16 +11,13 @@
|
|
## multi-threaded application. Requries _pthreads_.
|
|
|
|
##### Build defaults #####
|
|
-LUA_VERSION = 5.1
|
|
+LUA_VERSION = 5.3
|
|
TARGET = cjson.so
|
|
-PREFIX = /usr/local
|
|
-#CFLAGS = -g -Wall -pedantic -fno-inline
|
|
-CFLAGS = -O3 -Wall -pedantic -DNDEBUG
|
|
CJSON_CFLAGS = -fpic
|
|
CJSON_LDFLAGS = -shared
|
|
-LUA_INCLUDE_DIR = $(PREFIX)/include
|
|
-LUA_CMODULE_DIR = $(PREFIX)/lib/lua/$(LUA_VERSION)
|
|
-LUA_MODULE_DIR = $(PREFIX)/share/lua/$(LUA_VERSION)
|
|
+LUA_INCLUDE_DIR = $(LOCALBASE)/include/lua/$(LUA_VERSION)
|
|
+LUA_CMODULE_DIR = $(PREFIX)/lib/lua/$(LUA_VERSION)
|
|
+LUA_MODULE_DIR = $(PREFIX)/share/lua/$(LUA_VERSION)
|
|
LUA_BIN_DIR = $(PREFIX)/bin
|
|
|
|
##### Platform overrides #####
|