$NetBSD: patch-ay,v 1.1 2008/07/27 00:03:42 bjs Exp $ --- progs/xdemos/Makefile.orig 2008-07-18 10:39:12.000000000 -0400 +++ progs/xdemos/Makefile @@ -94,3 +94,5 @@ xrotfontdemo.o: xrotfontdemo.c xuserotfo yuvrect_client: yuvrect_client.c $(CC) -I$(INCDIR) $(X11_INCLUDES) $(CFLAGS) $< $(LDFLAGS) $(LIBS) -l$(GLU_LIB) -o $@ +glthreads: glthreads.c + $(CC) $(PTHREAD_CFLAGS) -I$(INCDIR) $(X11_INCLUDES) $(CFLAGS) $< $(LDFLAGS) $(LIBS) -l$(GLU_LIB) $(PTHREAD_LDFLAGS) $(PTHREAD_LIBS) -o $@