Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. =================================================================== RCS file: /ftp/cvs/cvsroot/pkgsrc/devel/glib2/Makefile,v rcsdiff: /ftp/cvs/cvsroot/pkgsrc/devel/glib2/Makefile,v: warning: Unknown phrases like `commitid ...;' are present. retrieving revision 1.2 retrieving revision 1.6 diff -u -p -r1.2 -r1.6 --- pkgsrc/devel/glib2/Makefile 2002/03/30 19:58:09 1.2 +++ pkgsrc/devel/glib2/Makefile 2002/08/23 02:37:42 1.6 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.2 2002/03/30 19:58:09 dmcmahill Exp $ +# $NetBSD: Makefile,v 1.6 2002/08/23 02:37:42 dmcmahill Exp $ # -DISTNAME= glib-2.0.1 +DISTNAME= glib-2.0.6 PKGNAME= ${DISTNAME:S/glib/glib2/} CATEGORIES= devel MASTER_SITES= ftp://ftp.gtk.org/pub/gtk/v2.0/ \ @@ -21,11 +21,10 @@ USE_LIBTOOL= yes LIBTOOL_OVERRIDE= ${WRKSRC}/libtool USE_PERL5= yes CONFIGURE_ARGS+= --includedir=${PREFIX}/include/glib -CPPFLAGS+= -I${BUILDLINK_DIR}/PTL/include MAKE_ENV+= PKGLOCALEDIR="${PKGLOCALEDIR}" # GLib needs a working pre-emptive pthreads implementation -USE_PTHREAD= native ptl2 +PTHREAD_OPTS+= native test: build cd ${WRKSRC} && ${MAKE_ENV} ${MAKE_PROGRAM} check 2>&1 | \ @@ -35,4 +34,10 @@ test: build .include "../../devel/gettext-lib/buildlink.mk" .include "../../devel/pkgconfig/buildlink.mk" .include "../../mk/pthread.buildlink.mk" + +.if defined(PTHREAD_TYPE) && (${PTHREAD_TYPE} == "none") +CPPFLAGS+= -I${BUILDLINK_DIR}/PTL/include +. include "../../devel/ptl2/buildlink.mk" +.endif + .include "../../mk/bsd.pkg.mk"