Mon Dec 4 14:02:29 2023 UTC ()
protobuf-c: Restore section removed in last update.

Without this the build fails with "google/protobuf/descriptor.proto: File not
found.".  It's unclear how this could work for some and not others.


(jperkin)
diff -r1.18 -r1.19 pkgsrc/devel/protobuf-c/Makefile

cvs diff -r1.18 -r1.19 pkgsrc/devel/protobuf-c/Makefile (expand / switch to unified diff)

--- pkgsrc/devel/protobuf-c/Makefile 2023/11/26 06:06:28 1.18
+++ pkgsrc/devel/protobuf-c/Makefile 2023/12/04 14:02:29 1.19
@@ -1,23 +1,26 @@ @@ -1,23 +1,26 @@
1# $NetBSD: Makefile,v 1.18 2023/11/26 06:06:28 wiz Exp $ 1# $NetBSD: Makefile,v 1.19 2023/12/04 14:02:29 jperkin Exp $
2 2
3DISTNAME= protobuf-c-1.5.0 3DISTNAME= protobuf-c-1.5.0
4CATEGORIES= devel 4CATEGORIES= devel
5MASTER_SITES= ${MASTER_SITE_GITHUB:=protobuf-c/} 5MASTER_SITES= ${MASTER_SITE_GITHUB:=protobuf-c/}
6GITHUB_RELEASE= v${PKGVERSION_NOREV} 6GITHUB_RELEASE= v${PKGVERSION_NOREV}
7 7
8MAINTAINER= wiedi@frubar.net 8MAINTAINER= wiedi@frubar.net
9HOMEPAGE= https://github.com/protobuf-c/protobuf-c 9HOMEPAGE= https://github.com/protobuf-c/protobuf-c
10COMMENT= Protocol Buffers implementation in C 10COMMENT= Protocol Buffers implementation in C
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13USE_LANGUAGES= c c++ 13USE_LANGUAGES= c c++
14USE_CXX_FEATURES+= c++17 14USE_CXX_FEATURES+= c++17
15USE_LIBTOOL= yes 15USE_LIBTOOL= yes
16USE_TOOLS+= gmake pkg-config 16USE_TOOLS+= gmake pkg-config
17GNU_CONFIGURE= yes 17GNU_CONFIGURE= yes
18PKGCONFIG_OVERRIDE+= protobuf-c/libprotobuf-c.pc.in 18PKGCONFIG_OVERRIDE+= protobuf-c/libprotobuf-c.pc.in
19TEST_TARGET= check 19TEST_TARGET= check
20 20
 21pre-configure:
 22 ${LN} -s ${BUILDLINK_DIR}/include/google ${WRKSRC}/google
 23
21.include "../../devel/protobuf/buildlink3.mk" 24.include "../../devel/protobuf/buildlink3.mk"
22.include "../../mk/atomic64.mk" 25.include "../../mk/atomic64.mk"
23.include "../../mk/bsd.pkg.mk" 26.include "../../mk/bsd.pkg.mk"