freebsd-ports/devel/tinycbor/files/patch-Makefile
Sunpoet Po-Chuan Hsieh ee6b72e5ab Add tinycbor 0.5.0
The Concise Binary Object Representation (CBOR) is a data format whose design
goals include the possibility of extremely small code size, fairly small message
size, and extensibility without the need for version negotiation. It is defined
in IETF RFC 7049.

TinyCBOR is Intel's industrial strength C/C++ implementation of CBOR, as used in
the IoTivity framework.

WWW: https://github.com/intel/tinycbor
2018-02-08 18:50:43 +00:00

11 lines
417 B
Text

--- Makefile.orig 2018-01-30 22:21:35 UTC
+++ Makefile
@@ -103,7 +103,7 @@ ifneq ($(cjson-pass)$(system-cjson-pass)
JSON2CBOR_SOURCES = tools/json2cbor/json2cbor.c
INSTALL_TARGETS += $(bindir)/json2cbor
ifeq ($(system-cjson-pass),1)
- LDFLAGS_CJSON = -lcjson
+ LDFLAGS_CJSON = -L$(LOCALBASE)/lib -lcjson
else
JSON2CBOR_SOURCES += src/cjson/cJSON.c
json2cbor_CCFLAGS = -I$(SRCDIR)src/cjson