Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 May 2000 11:29:22 +0200 (CEST)
From:      rguyom@321.net
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   ports/18527: graphics/gview use its own static libintl
Message-ID:  <20000513092922.2A0F8341@diabolic-cow.mail.dotcom.fr>

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

>Number:         18527
>Category:       ports
>Synopsis:       graphics/gview use its own static libintl
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat May 13 02:40:02 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Rémi 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:
>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?20000513092922.2A0F8341>