From tkato@prontomail.com  Thu Jun 26 06:37:13 2003
Return-Path: <tkato@prontomail.com>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 6304537B401
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 26 Jun 2003 06:37:13 -0700 (PDT)
Received: from hfep03.dion.ne.jp (hfep03.dion.ne.jp [203.181.105.69])
	by mx1.FreeBSD.org (Postfix) with ESMTP id B121843FE3
	for <FreeBSD-gnats-submit@FreeBSD.org>; Thu, 26 Jun 2003 06:37:12 -0700 (PDT)
	(envelope-from tkato@prontomail.com)
Received: from localhost ([219.108.124.94]) by hfep03.dion.ne.jp with SMTP
          id <20030626133710288.OTKX@hfep03.dion.ne.jp>
          for <FreeBSD-gnats-submit@FreeBSD.org>;
          Thu, 26 Jun 2003 22:37:10 +0900
Message-Id: <20030626223544.69ff15c0.tkato@prontomail.com>
Date: Thu, 26 Jun 2003 22:35:44 +0900
From: KATO Tsuguru <tkato@prontomail.com>
To: FreeBSD-gnats-submit@FreeBSD.org
Subject: Update port: deskutils/bulb

>Number:         53766
>Category:       ports
>Synopsis:       Update port: deskutils/bulb
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Thu Jun 26 06:40:23 PDT 2003
>Closed-Date:    Fri Jul 11 11:24:55 PDT 2003
>Last-Modified:  Fri Jul 11 11:24:55 PDT 2003
>Originator:     KATO Tsuguru
>Release:        FreeBSD 4.8-RELEASE i386
>Organization:
>Environment:
>Description:
- Fix build

>How-To-Repeat:
>Fix:

diff -urN /usr/ports/deskutils/bulb/Makefile deskutils/bulb/Makefile
--- /usr/ports/deskutils/bulb/Makefile	Sat Apr 12 22:39:02 2003
+++ deskutils/bulb/Makefile	Tue Jun 24 20:47:41 2003
@@ -14,15 +14,15 @@
 COMMENT=	GNOME applet to warn about task terminations
 
 USE_X_PREFIX=	yes
-USE_GNOME=	yes
+USE_GNOME=	gnomelibs gnomeprefix libpanel
+USE_REINPLACE=	yes
 GNU_CONFIGURE=	yes
 CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
-		LIBS="-L${LOCALBASE}/lib"
+		LDFLAGS="-L${LOCALBASE}/lib"
 
-pre-patch:
-	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
-		 s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
-		 s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
+post-patch:
+	@${REINPLACE_CMD} -e \
+		's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
 		 s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
 
 .include <bsd.port.mk>
>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: arved 
State-Changed-When: Sun Jun 29 15:15:18 PDT 2003 
State-Changed-Why:  
On two machines I got: 

Creating bzip'd tar ball in '/usr/ports/packages/All/bulb-1.0.6.tbz' 
tar: share/locale/de/LC_MESSAGES/bulb.mo: Cannot stat: No such file or directory 
tar: share/locale/fr/LC_MESSAGES/bulb.mo: Cannot stat: No such file or directory 


http://www.freebsd.org/cgi/query-pr.cgi?pr=53766 

From: KATO Tsuguru <tkato@prontomail.com>
To: Tilman Linneweh <arved@FreeBSD.org>
Cc: FreeBSD-gnats-submit@FreeBSD.org
Subject: Re: ports/53766: Update port: deskutils/bulb
Date: Tue, 1 Jul 2003 22:44:05 +0900

 On Sun, 29 Jun 2003 15:16:27 -0700 (PDT)
 Tilman Linneweh <arved@FreeBSD.org> wrote:
 
 > On two machines I got:
 > 
 > Creating bzip'd tar ball in '/usr/ports/packages/All/bulb-1.0.6.tbz'
 > tar: share/locale/de/LC_MESSAGES/bulb.mo: Cannot stat: No such file or directory
 > tar: share/locale/fr/LC_MESSAGES/bulb.mo: Cannot stat: No such file or directory
 
 Ah, I've forgetten adding "gnomehack" to the member of
 USE_GNOME.... Please use following patch instead.
 
 diff -urN /usr/ports/deskutils/bulb/Makefile deskutils/bulb/Makefile
 --- /usr/ports/deskutils/bulb/Makefile	Sat Apr 12 22:39:02 2003
 +++ deskutils/bulb/Makefile	Tue Jul  1 22:43:40 2003
 @@ -14,15 +14,14 @@
  COMMENT=	GNOME applet to warn about task terminations
  
  USE_X_PREFIX=	yes
 -USE_GNOME=	yes
 +USE_GNOME=	gnomehack gnomelibs gnomeprefix libpanel
  GNU_CONFIGURE=	yes
  CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
 -		LIBS="-L${LOCALBASE}/lib"
 +		LDFLAGS="-L${LOCALBASE}/lib"
  
 -pre-patch:
 -	@${PERL} -pi -e 's|-lpthread|${PTHREAD_LIBS}|g ; \
 -		 s|DATADIRNAME=lib|DATADIRNAME=share|g ; \
 -		 s|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
 +post-patch:
 +	@${REINPLACE_CMD} -e \
 +		's|USE_INCLUDED_LIBINTL=yes|#USE_INCLUDED_LIBINTL=yes|g ; \
  		 s|\$$\(top_builddir\)/intl/libintl.a|-lintl|g' ${WRKSRC}/configure
  
  .include <bsd.port.mk>
State-Changed-From-To: feedback->closed 
State-Changed-By: nork 
State-Changed-When: Fri Jul 11 11:22:14 PDT 2003 
State-Changed-Why:  
Committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=53766 
>Unformatted:
