pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/mail/mu
Module Name: pkgsrc
Committed By: nia
Date: Sat Jun 8 07:59:53 UTC 2024
Added Files:
pkgsrc/mail/mu: hacks.mk
Log Message:
mu: Add hacks for NetBSD 9 libstdc++
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/mail/mu/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/mail/mu/hacks.mk
diff -u /dev/null pkgsrc/mail/mu/hacks.mk:1.1
--- /dev/null Sat Jun 8 07:59:53 2024
+++ pkgsrc/mail/mu/hacks.mk Sat Jun 8 07:59:53 2024
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2024/06/08 07:59:53 nia Exp $
+
+.if !defined(MU_HACKS_MK)
+MU_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