Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 26 Jul 2012 11:59:45 GMT
From:      Michael Moll <kvedulv@kvedulv.de>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/170191: x11/zenity
Message-ID:  <201207261159.q6QBxjGE066299@red.freebsd.org>
Resent-Message-ID: <201207261200.q6QC0P2S026097@freefall.freebsd.org>

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

>Number:         170191
>Category:       ports
>Synopsis:       x11/zenity
>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:   Thu Jul 26 12:00:24 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Michael Moll
>Release:        9-STABLE
>Organization:
>Environment:
FreeBSD marduk.kvedulv.de 9.0-STABLE FreeBSD 9.0-STABLE #0 r238219M: Sun Jul  8 02:35:35 CEST 2012     mmoll@marduk.kvedulv.de:/usr/obj/svn/base/stable/9/sys/MARDUK  amd64
>Description:
When using newer binutils (e.g. with lang/gcc):
# cd /usr/ports/x11/zenity
# make install
[...]
  CC     zenity-util.o
tree.c: In function 'zenity_tree_row_activated':
tree.c:637:17: warning: variable 'model' set but not used [-Wunused-but-set-variable]
  CCLD   zenity
/usr/local/bin/ld: zenity-main.o: undefined reference to symbol 'libintl_textdomain'
/usr/local/bin/ld: note: 'libintl_textdomain' is defined in DSO //usr/local/lib/libintl.so.9 so try adding it to the linker command line
//usr/local/lib/libintl.so.9: could not read symbols: Invalid operation
collect2: ld returned 1 exit status
gmake[2]: *** [zenity] Error 1
[...]

>How-To-Repeat:

>Fix:
Index: x11/zenity/Makefile
===================================================================
--- x11/zenity/Makefile	(revision 301554)
+++ x11/zenity/Makefile	(working copy)
@@ -27,6 +27,7 @@
 INSTALLS_OMF=	yes
 CONFIGURE_ENV=	LIBS="-L${LOCALBASE}/lib ${PTHREAD_LIBS}"
 CPPFLAGS+=	-I${LOCALBASE}/include ${PTHREAD_CFLAGS}
+LDFLAGS+=	-L${LOCALBASE}/lib -lintl
 
 MAN1=		zenity.1

>Release-Note:
>Audit-Trail:
>Unformatted:



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