pkgsrc-Changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
CVS commit: pkgsrc/net/wget
Module Name: pkgsrc
Committed By: nia
Date: Fri Mar 15 20:31:52 UTC 2024
Added Files:
pkgsrc/net/wget: hacks.mk
Log Message:
wget: Add compilation hack for Tiger
To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/net/wget/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/net/wget/hacks.mk
diff -u /dev/null pkgsrc/net/wget/hacks.mk:1.1
--- /dev/null Fri Mar 15 20:31:52 2024
+++ pkgsrc/net/wget/hacks.mk Fri Mar 15 20:31:52 2024
@@ -0,0 +1,21 @@
+# $NetBSD: hacks.mk,v 1.1 2024/03/15 20:31:52 nia Exp $
+
+.ifndef WGET_HACKS_MK
+
+WGET_HACKS_MK=
+
+.include "../../mk/bsd.fast.prefs.mk"
+
+# There is a bug in the 10.4 SDK that causes struct __darwin_ucontext
+# to be undefined when transcluding <sys/signal.h> via stdlib.h.
+#
+# This hack simply disables defining the mcontext_t typedefs, which
+# has no negative effects on this version.
+.if ${OPSYS} == "Darwin" && ${OPSYS_VERSION} < 100500
+PKG_HACKS+= tiger-signal-h
+CPPFLAGS+= -D_MCONTEXT_T=1
+CPPFLAGS+= -D_MCONTEXT64_T=1
+CPPFLAGS+= -D_UCONTEXT_T=1
+CPPFLAGS+= -D_UCONTEXT64_T=1
+.endif
+.endif
Home |
Main Index |
Thread Index |
Old Index