diff options
Diffstat (limited to 'devel/protobuf-c')
-rw-r--r-- | devel/protobuf-c/Makefile | 12 | ||||
-rw-r--r-- | devel/protobuf-c/files/patch-configure | 10 |
2 files changed, 17 insertions, 5 deletions
diff --git a/devel/protobuf-c/Makefile b/devel/protobuf-c/Makefile index ebe7444e276b..2fd1ca29ef29 100644 --- a/devel/protobuf-c/Makefile +++ b/devel/protobuf-c/Makefile @@ -1,6 +1,6 @@ PORTNAME= protobuf-c DISTVERSION= 1.5.1 -PORTREVISION= 2 +PORTREVISION= 3 CATEGORIES= devel MASTER_SITES= https://github.com/protobuf-c/protobuf-c/releases/download/v${DISTVERSION}/ @@ -15,16 +15,18 @@ LIB_DEPENDS= libabsl_log_internal_check_op.so:devel/abseil \ libprotobuf.so:devel/protobuf USES= compiler:c++17-lang gmake libtool pkgconfig +USE_CXXSTD= c++17 +USE_LDCONFIG= yes GNU_CONFIGURE= yes -USE_LDCONFIG= yes +CONFIGURE_ARGS= --disable-static INSTALL_TARGET= install-strip TEST_TARGET= check -USE_CXXSTD= c++17 -PORTDOCS= * -CONFIGURE_ARGS= --disable-static +HAS_SYMBOL_VERSION= ${PREFIX}/lib/libprotobuf-c.so.1.0.0 + +PORTDOCS= * OPTIONS_DEFINE= DOXYGEN DOCS OPTIONS_DEFAULT= DOXYGEN diff --git a/devel/protobuf-c/files/patch-configure b/devel/protobuf-c/files/patch-configure new file mode 100644 index 000000000000..00d4e0475605 --- /dev/null +++ b/devel/protobuf-c/files/patch-configure @@ -0,0 +1,10 @@ +--- configure.orig 2025-02-02 04:07:13 UTC ++++ configure +@@ -20282,6 +20283,7 @@ EOF + cat confdefs.h - <<_ACEOF >conftest.$ac_ext + /* end confdefs.h. */ + ++int sym; + int + main (void) + { |