Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 9 Apr 2023 13:39:43 GMT
From:      Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: 556e3c7b4f55 - main - devel/avro-c: Fix avro-c.pc
Message-ID:  <202304091339.339DdhtM081057@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by sunpoet:

URL: https://cgit.FreeBSD.org/ports/commit/?id=556e3c7b4f5595c285f722d46b9c29feadb3c998

commit 556e3c7b4f5595c285f722d46b9c29feadb3c998
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-09 13:29:41 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-09 13:36:32 +0000

    devel/avro-c: Fix avro-c.pc
    
    - Bump PORTREVISION for package change
    
    PR:             269873
    Reported by:    pi
---
 devel/avro-c/Makefile                   | 1 +
 devel/avro-c/files/patch-CMakeLists.txt | 9 +++++++++
 2 files changed, 10 insertions(+)

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)



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304091339.339DdhtM081057>