From e9082c927c5a6f3dfc906cfd301d5e1ec42405ec Mon Sep 17 00:00:00 2001 From: Ying-Chieh Liao Date: Thu, 10 Oct 2002 19:49:14 +0000 Subject: fix build PR: 43684 Submitted by: Ports Fury --- sysutils/battstat-applet/Makefile | 16 +++++----------- 1 file changed, 5 insertions(+), 11 deletions(-) (limited to 'sysutils/battstat-applet') diff --git a/sysutils/battstat-applet/Makefile b/sysutils/battstat-applet/Makefile index ef55cd19d377..cdc72a534ec8 100644 --- a/sysutils/battstat-applet/Makefile +++ b/sysutils/battstat-applet/Makefile @@ -13,23 +13,17 @@ DISTNAME= battstat_applet-${PORTVERSION} MAINTAINER= ports@FreeBSD.org -BROKEN= "Does not install" - -WRKSRC= ${WRKDIR}/${DISTNAME} - -USE_REINPLACE= yes USE_X_PREFIX= yes +USE_GNOMENG= yes +USE_GNOME= gnomehack gnomeprefix libpanel +USE_REINPLACE= yes USE_GMAKE= yes -USE_GNOME= yes USE_LIBTOOL= yes CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ - LIBS="-L${LOCALBASE}/lib" + LDFLAGS="-L${LOCALBASE}/lib" -pre-patch: +post-patch: @${REINPLACE_CMD} -e 's|-lpthread|${PTHREAD_LIBS}|g ; \ s|DATADIRNAME=lib|DATADIRNAME=share|g' ${WRKSRC}/configure - @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${REINPLACE_CMD} -e \ - 's|\$$\(datadir\)/gnome/|\$$\(datadir\)/|g ; \ - s|\$$\(datadir\)/locale|\$$\(prefix\)/share/locale|g' .include -- cgit v1.2.3