From b06dd800595f1b6a2d32f8be61e4ec64d82fe8d3 Mon Sep 17 00:00:00 2001 From: Trevor Johnson Date: Sun, 23 Mar 2003 02:57:54 +0000 Subject: [PATCH] Make this usable with the new fltk library. Submitted by: Dan Nelson --- x11-fm/xdiskusage/Makefile | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/x11-fm/xdiskusage/Makefile b/x11-fm/xdiskusage/Makefile index a362e77faca4..7637a7499911 100644 --- a/x11-fm/xdiskusage/Makefile +++ b/x11-fm/xdiskusage/Makefile @@ -14,8 +14,6 @@ EXTRACT_SUFX= .tgz MAINTAINER= trevor@FreeBSD.org COMMENT= Show where disk space is taken up -BROKEN= "needs fltk 1.0.10" - LIB_DEPENDS= fltk.1:${PORTSDIR}/x11-toolkits/fltk USE_GMAKE= yes @@ -25,7 +23,7 @@ USE_X_PREFIX= yes do-build: .for i in panels xdiskusage ${CXX} ${CXXFLAGS} ${PTHREAD_CFLAGS} -I${X11BASE}/include -c \ - ${WRKSRC}/${i}.C -o ${WRKSRC}/${i}.o + -DFLTK_1_0_COMPAT ${WRKSRC}/${i}.C -o ${WRKSRC}/${i}.o .endfor ${CXX} ${CXXFLAGS} ${PTHREAD_CFLAGS} -L${X11BASE}/lib -o \ ${WRKSRC}/xdiskusage ${WRKSRC}/panels.o \