ports/121231: [patch] ports/graphics/exif fix WITHOUT_NLS knob

Helge Oldach ports-graphics-exif-feb08 at oldach.net
Fri Feb 29 18:30:01 UTC 2008


>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 at 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:



More information about the freebsd-ports-bugs mailing list