Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 5 Oct 2002 01:01:24 -0700 (PDT)
From:      KATO Tsuguru <tkato@prontomail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/43684: Update port: sysutils/battstat-applet
Message-ID:  <200210050801.g9581OM9054270@www.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         43684
>Category:       ports
>Synopsis:       Update port: sysutils/battstat-applet
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Sat Oct 05 01:10:02 PDT 2002
>Closed-Date:
>Last-Modified:
>Originator:     KATO Tsuguru
>Release:        4.6.2-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build

>How-To-Repeat:

>Fix:
diff -urN /usr/ports/sysutils/battstat-applet/Makefile sysutils/battstat-applet/Makefile
--- /usr/ports/sysutils/battstat-applet/Makefile	Thu Sep 19 21:07:35 2002
+++ sysutils/battstat-applet/Makefile	Sat Oct  5 16:53:04 2002
@@ -13,23 +13,17 @@
 
 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>

>Release-Note:
>Audit-Trail:
>Unformatted:

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200210050801.g9581OM9054270>