pkgsrc-Changes archive

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

CVS commit: pkgsrc/databases/mongo-c-driver



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Aug  7 07:19:33 UTC 2023

Modified Files:
        pkgsrc/databases/mongo-c-driver: Makefile

Log Message:
mongo-c-driver: Fix problems including sysctl.h on NetBSD


To generate a diff of this commit:
cvs rdiff -u -r1.58 -r1.59 pkgsrc/databases/mongo-c-driver/Makefile

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

Modified files:

Index: pkgsrc/databases/mongo-c-driver/Makefile
diff -u pkgsrc/databases/mongo-c-driver/Makefile:1.58 pkgsrc/databases/mongo-c-driver/Makefile:1.59
--- pkgsrc/databases/mongo-c-driver/Makefile:1.58       Sat Jul 29 11:39:29 2023
+++ pkgsrc/databases/mongo-c-driver/Makefile    Mon Aug  7 07:19:33 2023
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.58 2023/07/29 11:39:29 adam Exp $
+# $NetBSD: Makefile,v 1.59 2023/08/07 07:19:33 nia Exp $
 
 DISTNAME=      mongo-c-driver-1.24.2
 CATEGORIES=    databases
@@ -17,6 +17,9 @@ USE_LANGUAGES=        c c++
 USE_TOOLS+=    pkg-config
 TEST_TARGET=   check
 
+# u_int for sys/sysctl.h
+CFLAGS.NetBSD+=        -D_NETBSD_SOURCE
+
 CMAKE_ARGS+=   -DENABLE_ICU=ON
 CMAKE_ARGS+=   -DENABLE_SNAPPY=ON
 CMAKE_ARGS+=   -DENABLE_UNINSTALL=OFF



Home | Main Index | Thread Index | Old Index