From bc1e9c68a7bd8dafe2136eea72e8132998bf4d6f Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Wed, 29 Aug 2001 00:40:51 +0000 Subject: Use PTHREAD_CFLAGS and PTHREAD_LIBS to permit building on bento. Submitted by: Patrick Li PR: 29600 --- x11-fm/xdiskusage/Makefile | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) (limited to 'x11-fm') diff --git a/x11-fm/xdiskusage/Makefile b/x11-fm/xdiskusage/Makefile index c1ace826a7f0..7abe1e5ff0b7 100644 --- a/x11-fm/xdiskusage/Makefile +++ b/x11-fm/xdiskusage/Makefile @@ -21,11 +21,13 @@ USE_X_PREFIX= yes do-build: .for i in panels xdiskusage - ${CXX} ${CXXFLAGS} -I${X11BASE}/include -c ${WRKSRC}/${i}.C \ - -o ${WRKSRC}/${i}.o + ${CXX} ${CXXFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include -c \ + ${WRKSRC}/${i}.C -o ${WRKSRC}/${i}.o .endfor - ${CXX} ${CXXFLAGS} -L${X11BASE}/lib -o ${WRKSRC}/xdiskusage \ - ${WRKSRC}/panels.o ${WRKSRC}/xdiskusage.o -lfltk -lm -lMesaGL + ${CXX} ${CXXFLAGS} ${PTHREAD_CFLAGS} -L${X11BASE}/lib -o \ + ${WRKSRC}/xdiskusage ${WRKSRC}/panels.o \ + ${WRKSRC}/xdiskusage.o -lfltk -lm -lMesaGL \ + ${PTHREAD_LIBS} -lXext -lX11 do-install: ${INSTALL_PROGRAM} ${WRKSRC}/xdiskusage ${PREFIX}/bin -- cgit v1.2.3