pkgsrc-Changes archive

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

CVS commit: pkgsrc/math/igraph



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Jun 18 15:06:18 UTC 2026

Added Files:
        pkgsrc/math/igraph: hacks.mk

Log Message:
igraph: This needs the workaround for broken C++ headers in old NetBSD.


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/math/igraph/hacks.mk

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

Added files:

Index: pkgsrc/math/igraph/hacks.mk
diff -u /dev/null pkgsrc/math/igraph/hacks.mk:1.1
--- /dev/null   Thu Jun 18 15:06:18 2026
+++ pkgsrc/math/igraph/hacks.mk Thu Jun 18 15:06:18 2026
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2026/06/18 15:06:18 nia Exp $
+
+.if !defined(IGRAPH_HACKS_MK)
+IGRAPH_HACKS_MK=       # defined
+
+### [Thu Jun 18 17:04:43 CEST 2026 : nia]
+### NetBSD 9.x does not expose all standard C++ functions with default
+### source visibility.
+###
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000
+PKG_HACKS+=            netbsd-source
+CXXFLAGS+=             -D_NETBSD_SOURCE
+.endif
+
+.endif



Home | Main Index | Thread Index | Old Index