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