diff --git a/devel/avro-c/Makefile b/devel/avro-c/Makefile index 6b3bf6217432..2606948af0b1 100644 --- a/devel/avro-c/Makefile +++ b/devel/avro-c/Makefile @@ -1,5 +1,6 @@ PORTNAME= avro PORTVERSION= 1.11.1 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= APACHE/avro/stable/c PKGNAMESUFFIX= -c diff --git a/devel/avro-c/files/patch-CMakeLists.txt b/devel/avro-c/files/patch-CMakeLists.txt index 2b5557e4952b..1cb58a87964c 100644 --- a/devel/avro-c/files/patch-CMakeLists.txt +++ b/devel/avro-c/files/patch-CMakeLists.txt @@ -9,6 +9,15 @@ add_definitions(-DSNAPPY_CODEC) include_directories(${SNAPPY_INCLUDE_DIRS}) message("Enabled snappy codec") +@@ -176,7 +176,7 @@ else (LZMA_FOUND) + endif (LZMA_FOUND) + + set(CODEC_LIBRARIES ${ZLIB_LIBRARIES} ${LZMA_LIBRARIES} ${SNAPPY_LIBRARIES}) +-set(CODEC_PKG "@ZLIB_PKG@ @LZMA_PKG@ @SNAPPY_PKG@") ++set(CODEC_PKG ${ZLIB_PKG} ${LZMA_PKG} ${SNAPPY_PKG}) + + # Jansson JSON library + pkg_check_modules(JANSSON jansson>=2.3) @@ -192,7 +192,6 @@ endif (JANSSON_FOUND) add_subdirectory(src) add_subdirectory(examples)