summaryrefslogtreecommitdiffstats
path: root/sysutils/battstat-applet
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-10-10 19:49:14 +0000
committerijliao <ijliao@FreeBSD.org>2002-10-10 19:49:14 +0000
commita7486147238a04d287b6ac4080d9a8c7aa40f234 (patch)
treedfe9f99146f1efb6000d955abd87a38ac1c07f5f /sysutils/battstat-applet
parent96233a73fde6b0900d0d8bdfd109203762fbb83a (diff)
downloadFreeBSD-ports-a7486147238a04d287b6ac4080d9a8c7aa40f234.zip
FreeBSD-ports-a7486147238a04d287b6ac4080d9a8c7aa40f234.tar.gz
fix build
PR: 43684 Submitted by: Ports Fury
Diffstat (limited to 'sysutils/battstat-applet')
-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 ef55cd1..cdc72a5 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>
OpenPOWER on IntegriCloud