aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorijliao <ijliao@FreeBSD.org>2002-10-11 03:49:14 +0800
committerijliao <ijliao@FreeBSD.org>2002-10-11 03:49:14 +0800
commita7486147238a04d287b6ac4080d9a8c7aa40f234 (patch)
treedfe9f99146f1efb6000d955abd87a38ac1c07f5f /sysutils
parent96233a73fde6b0900d0d8bdfd109203762fbb83a (diff)
downloadfreebsd-ports-gnome-a7486147238a04d287b6ac4080d9a8c7aa40f234.tar.gz
freebsd-ports-gnome-a7486147238a04d287b6ac4080d9a8c7aa40f234.tar.zst
freebsd-ports-gnome-a7486147238a04d287b6ac4080d9a8c7aa40f234.zip
fix build
PR: 43684 Submitted by: Ports Fury
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>