ports/170191: x11/zenity
Michael Moll
kvedulv at kvedulv.de
Thu Jul 26 12:00:25 UTC 2012
>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 at 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:
More information about the freebsd-ports-bugs
mailing list