diff options
author | jlam <jlam@pkgsrc.org> | 2001-12-24 19:38:07 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2001-12-24 19:38:07 +0000 |
commit | 48fd458bacb65836d53e55c51286c2e7cc16fbe0 (patch) | |
tree | 92524f80032a4b8d6cec41df1a27235b6071eeef /devel | |
parent | d0bd34b5562259df0d02e0553be2708d918af0f3 (diff) | |
download | pkgsrc-48fd458bacb65836d53e55c51286c2e7cc16fbe0.tar.gz |
Convert to use pthread.buildlink.mk. This package is a simple example of
how to use pthread.buildlink.mk.
Diffstat (limited to 'devel')
-rw-r--r-- | devel/glib/Makefile | 11 |
1 files changed, 5 insertions, 6 deletions
diff --git a/devel/glib/Makefile b/devel/glib/Makefile index fb978b17b96..6b60ff97f66 100644 --- a/devel/glib/Makefile +++ b/devel/glib/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.39 2001/10/06 17:52:21 tron Exp $ +# $NetBSD: Makefile,v 1.40 2001/12/24 19:38:07 jlam Exp $ # FreeBSD Id: Makefile,v 1.2 1998/08/06 14:55:12 vanilla Exp # @@ -28,12 +28,10 @@ INFO_FILES= glib.info CFLAGS= -O0 .endif -.include "../../mk/bsd.prefs.mk" - # GLib needs a working pthreads implementation, and pth is proven to work. -.if (${OPSYS} != SunOS) -.include "../../devel/pth/buildlink.mk" -.endif +USE_PTHREAD= native pth + +.include "../../mk/bsd.prefs.mk" GLIB_VERSION= ${DISTNAME:S/glib-//} GLIB_MAJOR_VERSION= ${GLIB_VERSION:C/\..*//} @@ -76,4 +74,5 @@ post-configure: ${RM} glib.h.fixme .endif +.include "../../mk/pthread.buildlink.mk" .include "../../mk/bsd.pkg.mk" |