pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/lang/nodejs
Module Name: pkgsrc
Committed By: nia
Date: Tue Nov 26 12:35:44 UTC 2024
Modified Files:
pkgsrc/lang/nodejs: hacks.mk
Log Message:
nodejs: Attempt to work around build failure on netbsd-9
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/lang/nodejs/hacks.mk
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: pkgsrc/lang/nodejs/hacks.mk
diff -u pkgsrc/lang/nodejs/hacks.mk:1.2 pkgsrc/lang/nodejs/hacks.mk:1.3
--- pkgsrc/lang/nodejs/hacks.mk:1.2 Wed Nov 13 08:45:17 2024
+++ pkgsrc/lang/nodejs/hacks.mk Tue Nov 26 12:35:44 2024
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.2 2024/11/13 08:45:17 adam Exp $
+# $NetBSD: hacks.mk,v 1.3 2024/11/26 12:35:44 nia Exp $
.if !defined(NODEJS_HACKS_MK)
NODEJS_HACKS_MK= # defined
@@ -12,4 +12,12 @@ PKG_HACKS+= netbsd-source
CXXFLAGS+= -D_NETBSD_SOURCE
.endif
+### [Tue Nov 26 13:34:51 CET 2024]
+### NetBSD 9.x lacks a definition for DT_GNU_HASH.
+###
+.if ${OPSYS} == "NetBSD" && ${OPSYS_VERSION} < 100000
+PKG_HACKS+= netbsd-gnu-hash
+CXXFLAGS+= -DDT_GNU_HASH=0x6ffffef5
+.endif
+
.endif
Home |
Main Index |
Thread Index |
Old Index