summaryrefslogtreecommitdiffstats
path: root/x11-fm/xdiskusage
diff options
context:
space:
mode:
authortrevor <trevor@FreeBSD.org>2001-08-29 00:40:51 +0000
committertrevor <trevor@FreeBSD.org>2001-08-29 00:40:51 +0000
commitd65c2bef8b4f30df559fbfc86109b74539f13ede (patch)
tree96cd58dc83a4e5af195b3b086e129c6e046effc3 /x11-fm/xdiskusage
parent0a7014b1a379a5c5dfc974c725180fb652e250a8 (diff)
downloadFreeBSD-ports-d65c2bef8b4f30df559fbfc86109b74539f13ede.zip
FreeBSD-ports-d65c2bef8b4f30df559fbfc86109b74539f13ede.tar.gz
Use PTHREAD_CFLAGS and PTHREAD_LIBS to permit building on bento.
Submitted by: Patrick Li PR: 29600
Diffstat (limited to 'x11-fm/xdiskusage')
-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