Skip to content

Commit

Permalink
devel/avro-c: Fix avro-c.pc
Browse files Browse the repository at this point in the history
- Bump PORTREVISION for package change

PR:		269873
Reported by:	pi
  • Loading branch information
sunpoet committed Apr 9, 2023
1 parent f30628b commit 556e3c7
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 0 deletions.
1 change: 1 addition & 0 deletions 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
Expand Down
9 changes: 9 additions & 0 deletions devel/avro-c/files/patch-CMakeLists.txt
Expand Up @@ -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)
Expand Down

0 comments on commit 556e3c7

Please sign in to comment.