From rguyom@321.net  Sat May 13 02:31:34 2000
Return-Path: <rguyom@321.net>
Received: from smtp2.cluster.oleane.net (smtp2.cluster.oleane.net [195.25.12.17])
	by hub.freebsd.org (Postfix) with ESMTP id BA70237B5CD
	for <FreeBSD-gnats-submit@freebsd.org>; Sat, 13 May 2000 02:31:32 -0700 (PDT)
	(envelope-from rguyom@321.net)
Received: from diabolic-cow.mail.dotcom.fr  (dyn-1-1-004.Orl.dialup.oleane.fr [195.25.26.4])  by smtp2.cluster.oleane.net  with ESMTP id LAA75326 for <FreeBSD-gnats-submit@freebsd.org>; Sat, 13 May 2000 11:31:14 +0200 (CEST)
Received: by diabolic-cow.mail.dotcom.fr (Postfix, from userid 1000)
	id 2A0F8341; Sat, 13 May 2000 11:29:22 +0200 (CEST)
Message-Id: <20000513092922.2A0F8341@diabolic-cow.mail.dotcom.fr>
Date: Sat, 13 May 2000 11:29:22 +0200 (CEST)
From: rguyom@321.net
Reply-To: rguyom@321.net
To: FreeBSD-gnats-submit@freebsd.org
Subject: graphics/gview use its own static libintl
X-Send-Pr-Version: 3.2

>Number:         18527
>Category:       ports
>Synopsis:       graphics/gview use its own static libintl
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    cpiazza
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 13 02:40:02 PDT 2000
>Closed-Date:    Mon May 15 12:11:26 PDT 2000
>Last-Modified:  Mon May 15 12:11:40 PDT 2000
>Originator:     Rmi Guyomarch
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
really bad
>Environment:
>Description:

The configure script doesn't detect libintl because it doesn't use
/usr/local/{lib,include}. "make build" will build a static libintl 
and will link gview with this static lib instead of the port's one
despite what's in the port's Makefile.

   text    data     bss     dec     hex filename
  86951    4252    4472   95675   175bb work/gview-0.1.12/src/gview-unpatched
  69951    4140      68   74159   121af work/gview-0.1.12/src/gview-patched

>How-To-Repeat:

Build gview

>Fix:

--- Makefile.old        Sat May 13 04:14:04 2000
+++ Makefile    Sat May 13 04:19:36 2000
@@ -22,7 +22,9 @@
 
 USE_X_PREFIX=	yes
 GNU_CONFIGURE=	yes
-CONFIGURE_ENV=	GTK_CONFIG="${GTK_CONFIG}"
+CONFIGURE_ENV=	CPPFLAGS="-I${LOCALBASE}/include" \
+		LDFLAGS="-L${LOCALBASE}/lib" \
+		GTK_CONFIG="${GTK_CONFIG}"
 
 post-install:
 .if !defined(NOPORTDOCS)

>Release-Note:
>Audit-Trail:
Responsible-Changed-From-To: freebsd-ports->cpiazza  
Responsible-Changed-By: cpiazza 
Responsible-Changed-When: Sat May 13 18:25:50 PDT 2000 
Responsible-Changed-Why:  
My port 
State-Changed-From-To: open->closed  
State-Changed-By: cpiazza 
State-Changed-When: Mon May 15 12:11:26 PDT 2000 
State-Changed-Why:  
Committed, thanks! 
>Unformatted:
