summaryrefslogtreecommitdiff
path: root/x11-fm
diff options
context:
space:
mode:
authorTrevor Johnson <trevor@FreeBSD.org>2001-08-29 00:40:51 +0000
committerTrevor Johnson <trevor@FreeBSD.org>2001-08-29 00:40:51 +0000
commitbc1e9c68a7bd8dafe2136eea72e8132998bf4d6f (patch)
tree6ed0fb9ed17297fe91997613d94e5cb935ddab24 /x11-fm
parentNew port gkrellmouse version 0.0.2: Mouse odometer plugin for (diff)
Use PTHREAD_CFLAGS and PTHREAD_LIBS to permit building on bento.
Submitted by: Patrick Li PR: 29600
Notes
Notes: svn path=/head/; revision=47046
Diffstat (limited to 'x11-fm')
-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 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