Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 29 Feb 2008 19:23:41 +0100 (CET)
From:      Helge Oldach <ports-graphics-exif-feb08@oldach.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Cc:        pav@FreeBSD.org
Subject:   ports/121231: [patch] ports/graphics/exif fix WITHOUT_NLS knob
Message-ID:  <200802291823.m1TINfr6085120@sep.oldach.net>
Resent-Message-ID: <200802291830.m1TIU00w065720@freefall.freebsd.org>

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

>Number:         121231
>Category:       ports
>Synopsis:       [patch] ports/graphics/exif fix WITHOUT_NLS knob
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Fri Feb 29 18:30:00 UTC 2008
>Closed-Date:
>Last-Modified:
>Originator:     Helge Oldach
>Release:        FreeBSD 6.3-1132 i386
>Organization:
>Environment:

System: FreeBSD localhost 6.3-1132 FreeBSD 6.3-1132 #0: Fri Feb 15 19:26:49 CET 2008 toor@localhost:/usr/obj/usr/src/sys/HMO i386

>Description:

The WITHOUT_NLS knob is broken. Exif fails to compile if libiconv is
actually installed (although WITHOUT_NLS indicates it should not be
used). A similar issue exists with popt. The patch below fixes both
problems. Please apply.

>How-To-Repeat:

>Fix:

	

--- Makefile.ctm	2007-07-24 01:20:44.000000000 +0200
+++ Makefile	2008-02-29 19:17:27.000000000 +0100
@@ -23,6 +23,9 @@
 
 .if defined(WITHOUT_NLS)
 CONFIGURE_ARGS+=	--disable-nls
+CONFIGURE_ARGS+=	--without-libiconv-prefix
+CONFIGURE_ENV+=		POPT_CFLAGS=-I${PREFIX}/include
+CONFIGURE_ENV+=		POPT_LIBS="-L${PREFIX}/lib -lpopt"
 PLIST_SUB+=	NLS="@comment "
 .else
 USE_ICONV=	yes
>Release-Note:
>Audit-Trail:
>Unformatted:



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