diff options
author | rh <rh@pkgsrc.org> | 2002-10-16 03:14:41 +0000 |
---|---|---|
committer | rh <rh@pkgsrc.org> | 2002-10-16 03:14:41 +0000 |
commit | 3a3e01d6babcad7c934306c4a7df1e60cd3832dc (patch) | |
tree | ffe244b864cbb019cec06a2efb3339701a2172ac /devel/glib2/Makefile | |
parent | c84b772520244c51c632284f3fa5f10e3d0914fa (diff) | |
download | pkgsrc-3a3e01d6babcad7c934306c4a7df1e60cd3832dc.tar.gz |
Switch glib2 from PTL2 to pth.
Introduce USE_PTL2 so that PTL2 can still be used as an alternative (e.g.
for debugging).
Only include ptl2/buildlink2.mk if USE_PTL2 is set and no native threads
are available.
Bump PKGREVISIONS.
Diffstat (limited to 'devel/glib2/Makefile')
-rw-r--r-- | devel/glib2/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/devel/glib2/Makefile b/devel/glib2/Makefile index f85d319f511..e24c2f2d783 100644 --- a/devel/glib2/Makefile +++ b/devel/glib2/Makefile @@ -1,9 +1,9 @@ -# $NetBSD: Makefile,v 1.8 2002/09/11 11:31:40 jlam Exp $ +# $NetBSD: Makefile,v 1.9 2002/10/16 03:14:41 rh Exp $ # DISTNAME= glib-2.0.6 PKGNAME= ${DISTNAME:S/glib/glib2/} -PKGREVISION= 1 +PKGREVISION= 2 CATEGORIES= devel MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.0/ \ ftp://ftp.cs.umn.edu/pub/gimp/gtk/v2.0/ \ @@ -26,8 +26,11 @@ GNU_CONFIGURE= yes CONFIGURE_ARGS+= --includedir=${PREFIX}/include/glib MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}" -# GLib needs a working pre-emptive pthreads implementation +.include "../../mk/bsd.prefs.mk" + +.if defined(USE_PTL2) PTHREAD_OPTS+= native +.endif test: build cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_PROGRAM} check 2>&1 | \ |