summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-10 19:49:14 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2002-10-10 19:49:14 +0000
commite9082c927c5a6f3dfc906cfd301d5e1ec42405ec (patch)
tree5ebbaeb2c5516fc7aa8dc21628428b665a6e6fdc /sysutils
parentautomatic install process (diff)
fix build
PR: 43684 Submitted by: Ports Fury
Notes
Notes: svn path=/head/; revision=67768
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/battstat-applet/Makefile16
1 files changed, 5 insertions, 11 deletions
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 <bsd.port.mk>