Subject: CVS commit: pkgsrc/devel/glib2
To: None <pkgsrc-changes@NetBSD.org>
From: Jeremy C. Reed <reed@netbsd.org>
List: pkgsrc-changes
Date: 07/06/2005 07:00:10
Module Name: pkgsrc
Committed By: reed
Date: Wed Jul 6 07:00:10 UTC 2005
Modified Files:
pkgsrc/devel/glib2: Makefile
Log Message:
Remove comment about FreeBSD since not entirely correct for following.
Add condition for FreeBSD >= 5 then use -lpthread.
I assume the previous -Wc,-lc_r was for 4.x and I keep it there.
(Sorry if I break this for others using FreeBSD. I didn't get much
feedback when posted to tech-pkg in May about this.)
I noticed this when building audio/arts on FreeBSD 5.3-RELEASE:
Fatal error 'Spinlock called when not threaded.' at line 83 in file
/usr/src/lib/libpthread/thread/thr_spinlock.c (errno = 0)
Bump PKGREVISION since this changes the resulting package for FreeBSD.
(Todo: pkgsrc/mk/pthread.builtin.mk or pkgsrc/mk/pthread.buildlink3.mk
can be improved so this workaround can be removed.)
To generate a diff of this commit:
cvs rdiff -r1.73 -r1.74 pkgsrc/devel/glib2/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.