Step 2: base tools: devel/pkg-config

This commit is contained in:
Lionel Sambuc 2014-04-17 11:14:40 +02:00 committed by Lionel Sambuc
parent 77fd7dc245
commit ae4646ecf0
3 changed files with 22 additions and 0 deletions

View File

@ -32,6 +32,11 @@ post-configure:
cd ${WRKSRC}/glib; \
${GREP} -v HAVE_DTRACE config.h >config.h.new; \
${MV} config.h.new config.h
.if ${OS_VARIANT} == "Minix"
USE_GNU_ICONV= yes
.include "../../devel/pth/buildlink3.mk"
.endif
.endif
.if ${OS_VARIANT} == "SCOOSR5"

View File

@ -7,3 +7,4 @@ Size (pkg-config-0.29.1.tar.gz) = 2013454 bytes
SHA1 (patch-configure) = 6847644b9df3e3e2334f7c45bcbb2d3b7734d165
SHA1 (patch-glib_configure) = 5080a19186a948ba305278cef91ec76a920429e4
SHA1 (patch-glib_glib_gtimer.c) = ee877a6c148b148a86f9087960863cfa8305bbf7
SHA1 (patch-zz-minix) = 423a32586781d9dcecb5e1004edf67d769608dc3

View File

@ -0,0 +1,16 @@
$NetBSD$
--- glib/glib/gthread-posix.c.orig Tue Oct 2 05:49:07 2012
+++ glib/glib/gthread-posix.c
@@ -1143,7 +1143,11 @@ g_system_thread_new (GThreadFunc thread_func,
void
g_thread_yield (void)
{
+#ifdef __minix
+ return;
+#else
sched_yield ();
+#endif
}
void