From 9f323fd5dcdf1131f6a52f11ea7ef285650fad17 Mon Sep 17 00:00:00 2001 From: Joseph Koshy Date: Sun, 29 Feb 2004 17:06:20 +0000 Subject: Add a `WITH_PTHREAD' knob. Submitted by: Peter Schultz --- graphics/xaos/Makefile | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'graphics/xaos') diff --git a/graphics/xaos/Makefile b/graphics/xaos/Makefile index aa176d2f2857..2991f176c41c 100644 --- a/graphics/xaos/Makefile +++ b/graphics/xaos/Makefile @@ -30,6 +30,12 @@ CONFIGURE_ENV= LDFLAGS=-L${LOCALBASE}/lib CONFIGURE_ARGS= --with-svga-driver=no .endif +.if defined(WITH_PTHREAD) +CONFIGURE_ARGS+= --with-pthread=yes +CONFIGURE_ENV+= LIBS="${PTHREAD_LIBS}" \ + CFLAGS="${PTHREAD_CFLAGS} ${CFLAGS}" +.endif + CFLAGS= -DHAVE_SYS_PARAM_H \ -I${PREFIX}/include \ -pipe -O6 -fstrength-reduce -ffast-math -fomit-frame-pointer\ -- cgit v1.2.3