summaryrefslogtreecommitdiffstats
path: root/x11-fm/xdiskusage/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'x11-fm/xdiskusage/Makefile')
-rw-r--r--x11-fm/xdiskusage/Makefile10
1 files changed, 6 insertions, 4 deletions
diff --git a/x11-fm/xdiskusage/Makefile b/x11-fm/xdiskusage/Makefile
index c1ace82..7abe1e5 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
OpenPOWER on IntegriCloud