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 Dec  4 14:02:29 UTC 2023

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

Log Message:
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.


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 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.18 pkgsrc/devel/protobuf-c/Makefile:1.19
--- pkgsrc/devel/protobuf-c/Makefile:1.18       Sun Nov 26 06:06:28 2023
+++ pkgsrc/devel/protobuf-c/Makefile    Mon Dec  4 14:02:29 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2023/11/26 06:06:28 wiz Exp $
+# $NetBSD: Makefile,v 1.19 2023/12/04 14:02:29 jperkin Exp $
 
 DISTNAME=      protobuf-c-1.5.0
 CATEGORIES=    devel
@@ -18,6 +18,9 @@ GNU_CONFIGURE=                yes
 PKGCONFIG_OVERRIDE+=   protobuf-c/libprotobuf-c.pc.in
 TEST_TARGET=           check
 
+pre-configure:
+       ${LN} -s ${BUILDLINK_DIR}/include/google ${WRKSRC}/google
+
 .include "../../devel/protobuf/buildlink3.mk"
 .include "../../mk/atomic64.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index