From 9f0841b0fe741f732872a818f3c1dd4b4932ede4 Mon Sep 17 00:00:00 2001 From: Kris Kennaway Date: Tue, 1 Mar 2005 05:04:28 +0000 Subject: [PATCH] Add missing dependencies and fix build on 4.x --- misc/wmweather/Makefile | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/misc/wmweather/Makefile b/misc/wmweather/Makefile index ee1240c4764b..18c8d47ae65d 100644 --- a/misc/wmweather/Makefile +++ b/misc/wmweather/Makefile @@ -13,12 +13,15 @@ MAINTAINER= kris@FreeBSD.org COMMENT= A WMaker dockapp which displays meteorological data for your city LIB_DEPENDS= curl.3:${PORTSDIR}/ftp/curl +BUILD_DEPENDS= xmessage:${X_CLIENTS_PORT} +RUN_DEPENDS= xmessage:${X_CLIENTS_PORT} +LDFLAGS+= -L${LOCALBASE}/lib -L${X11BASE}/lib +CPPFLAGS+= -I${LOCALBASE}/include -I${X11BASE}/include GNU_CONFIGURE= yes -CONFIGURE_ARGS+=CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \ - LDFLAGS="-L${LOCALBASE}/lib -L${X11BASE}/lib" WRKSRC= ${WRKDIR}/${DISTNAME}/src USE_GMAKE= yes +USE_GETOPT_LONG=yes USE_X_PREFIX= yes USE_XPM= yes