From b3166ee365ca1154736491d451351c6e118bd3fd Mon Sep 17 00:00:00 2001 From: fgsch Date: Thu, 17 Aug 2000 20:55:58 +0000 Subject: [PATCH] Add no_threads FLAVOR. Compile with threads support by default. Useful if I ever get freeamp to work. --- devel/glib/Makefile | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/devel/glib/Makefile b/devel/glib/Makefile index 3d4603b5521..af70c0e9259 100644 --- a/devel/glib/Makefile +++ b/devel/glib/Makefile @@ -1,4 +1,4 @@ -# $OpenBSD: Makefile,v 1.28 2000/07/04 01:46:37 krw Exp $ +# $OpenBSD: Makefile,v 1.29 2000/08/17 20:55:58 fgsch Exp $ DISTNAME= glib-1.2.8 CATEGORIES= devel @@ -19,8 +19,14 @@ PERMIT_DISTFILES_FTP= Yes SEPARATE_BUILD= concurrent CONFIGURE_STYLE= gnu CONFIGURE_ARGS+= ${CONFIGURE_SHARED} -CONFIGURE_ARGS+= --enable-static --disable-threads \ - --includedir="${PREFIX}/include/glib" +CONFIGURE_ARGS+= --enable-static --includedir="${PREFIX}/include/glib" + +FLAVORS= no_threads +FLAVOR?= + +.if ${FLAVOR:L} == "no_threads" +CONFIGURE_ARGS+= --disable-threads +.endif post-extract: @rm -f ${WRKSRC}/docs/glib.info*