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/buildlink2.mk | |
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/buildlink2.mk')
-rw-r--r-- | devel/glib2/buildlink2.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/devel/glib2/buildlink2.mk b/devel/glib2/buildlink2.mk index 606f196a16b..aa89899b812 100644 --- a/devel/glib2/buildlink2.mk +++ b/devel/glib2/buildlink2.mk @@ -1,10 +1,10 @@ -# $NetBSD: buildlink2.mk,v 1.6 2002/09/23 02:28:37 jlam Exp $ +# $NetBSD: buildlink2.mk,v 1.7 2002/10/16 03:14:41 rh Exp $ .if !defined(GLIB2_BUILDLINK2_MK) GLIB2_BUILDLINK2_MK= # defined BUILDLINK_PACKAGES+= glib2 -BUILDLINK_DEPENDS.glib2?= glib2>=2.0.6nb1 +BUILDLINK_DEPENDS.glib2?= glib2>=2.0.6nb2 BUILDLINK_PKGSRCDIR.glib2?= ../../devel/glib2 EVAL_PREFIX+= BUILDLINK_PREFIX.glib2=glib2 @@ -21,7 +21,11 @@ BUILDLINK_FILES.glib2+= lib/libgthread-2.0.* .include "../../devel/gettext-lib/buildlink2.mk" .include "../../devel/pkgconfig/buildlink2.mk" +.include "../../mk/bsd.prefs.mk" + +.if defined(USE_PTL2) PTHREAD_OPTS+= native +.endif .include "../../mk/pthread.buildlink2.mk" |