diff options
author | trevor <trevor@FreeBSD.org> | 2001-08-29 08:40:51 +0800 |
---|---|---|
committer | trevor <trevor@FreeBSD.org> | 2001-08-29 08:40:51 +0800 |
commit | d65c2bef8b4f30df559fbfc86109b74539f13ede (patch) | |
tree | 96cd58dc83a4e5af195b3b086e129c6e046effc3 /x11-fm | |
parent | 0a7014b1a379a5c5dfc974c725180fb652e250a8 (diff) | |
download | freebsd-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/Makefile | 10 |
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 |