pkgsrc-Changes archive

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

CVS commit: pkgsrc/www/palemoon



Module Name:    pkgsrc
Committed By:   nia
Date:           Sat Aug  3 09:02:30 UTC 2024

Added Files:
        pkgsrc/www/palemoon: hacks.mk

Log Message:
palemoon: add workaround for netbsd-9 header bugs


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/www/palemoon/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/www/palemoon/hacks.mk
diff -u /dev/null pkgsrc/www/palemoon/hacks.mk:1.1
--- /dev/null   Sat Aug  3 09:02:30 2024
+++ pkgsrc/www/palemoon/hacks.mk        Sat Aug  3 09:02:30 2024
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2024/08/03 09:02:30 nia Exp $
+
+.if !defined(PALEMOON_HACKS_MK)
+PALEMOON_HACKS_MK=     # defined
+
+### [Sat Aug  3 11:00:17 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