pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/bazel



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Jun  8 08:05:14 UTC 2024

Added Files:
        pkgsrc/devel/bazel: hacks.mk

Log Message:
bazel: Add hacks.mk for NetBSD 9 libstdc++


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/devel/bazel/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/devel/bazel/hacks.mk
diff -u /dev/null pkgsrc/devel/bazel/hacks.mk:1.1
--- /dev/null   Sat Jun  8 08:05:14 2024
+++ pkgsrc/devel/bazel/hacks.mk Sat Jun  8 08:05:14 2024
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2024/06/08 08:05:14 nia Exp $
+
+.if !defined(BAZEL_HACKS_MK)
+BAZEL_HACKS_MK=                # defined
+
+### [Sat Jun  8 09:59:16 CEST 2024 : 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