pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/devel/protobuf-c



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Mon Sep 15 13:59:05 UTC 2025

Modified Files:
        pkgsrc/devel/protobuf-c: Makefile

Log Message:
protobuf-c: Not MAKE_JOBS safe.

Also work around an abseil mutex issue on SunOS.


To generate a diff of this commit:
cvs rdiff -u -r1.31 -r1.32 pkgsrc/devel/protobuf-c/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/devel/protobuf-c/Makefile
diff -u pkgsrc/devel/protobuf-c/Makefile:1.31 pkgsrc/devel/protobuf-c/Makefile:1.32
--- pkgsrc/devel/protobuf-c/Makefile:1.31       Sun Aug 24 16:36:16 2025
+++ pkgsrc/devel/protobuf-c/Makefile    Mon Sep 15 13:59:05 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2025/08/24 16:36:16 wiz Exp $
+# $NetBSD: Makefile,v 1.32 2025/09/15 13:59:05 jperkin Exp $
 
 DISTNAME=      protobuf-c-1.5.2
 PKGREVISION=   1
@@ -19,6 +19,14 @@ GNU_CONFIGURE=               yes
 PKGCONFIG_OVERRIDE+=   protobuf-c/libprotobuf-c.pc.in
 TEST_TARGET=           check
 
+# Missing dependencies on generated protobuf-c/protobuf-c.pb.h
+# <various>: fatal error: protobuf-c/protobuf-c.pb.h: No such file or directory
+MAKE_JOBS_SAFE=        no
+
+# XXX: Not a great fix, some issue with abseil vs protobuf vs SunOS ld.so is
+# causing a mutex to be recursively locked during init, but it works for now.
+LDFLAGS.SunOS+=        -Wl,-z,now
+
 pre-configure:
        ${LN} -s ${BUILDLINK_DIR}/include/google ${WRKSRC}/google
 



Home | Main Index | Thread Index | Old Index