void-packages/templates/glib.tmpl
Juan RP e12127b861 glib: added a patch to fix gthread errors caught by gkrellm.
I will report this upstream if the bug is not on NetBSD, but I'm not
sure. It seems that on NetBSD you aren't allowed to call
pthread_attr_getschedparam() without first calling _setschedparam().

--HG--
extra : convert_revision : 6a2ed6884cd148e48af908be38e8bb1d0060ccab
2008-10-10 07:37:17 +02:00

22 lines
952 B
Cheetah
Executable file

# Template build file for 'glib'
pkgname=glib
version=2.18.1
extract_sufx=".tar.bz2"
patch_files="$pkgname-fix-statfs-netbsd.diff $pkgname-fix-gthread-posix.diff"
url=http://ftp.gnome.org/pub/gnome/sources/glib/2.18
make_cmd="$PKGFS_MASTERDIR/bin/gmake"
# Disable FAM for now and use the installed pcre package instead
# of the supplied one.
configure_args="--disable-fam --with-pcre=system"
configure_env="ac_cv_func_statfs=no"
build_style=gnu_configure
pkgconfig_override="glib-2.0.pc gmodule-2.0.pc gmodule-export-2.0.pc
gmodule-no-export-2.0.pc gobject-2.0.pc gthread-2.0.pc gio-2.0.pc
gio-unix-2.0.pc"
short_desc="The GNU library of C routines"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=264b37584419d983685910adde8f7b282eccc1ad
long_desc="
GLib is a library containing many useful C routines for things such
as trees, hashes, lists and strings. It is a useful general purpose
C library used by projects such as GTK+, GIMP and GNOME."