Bug 170191 - x11/zenity
Summary: x11/zenity
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: freebsd-gnome (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-07-26 13:00 UTC by Michael Moll
Modified: 2012-12-29 06:30 UTC (History)
0 users

See Also:


Attachments
file.diff (379 bytes, patch)
2012-07-26 13:00 UTC, Michael Moll
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Michael Moll freebsd_committer freebsd_triage 2012-07-26 13:00:24 UTC
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
[...]
Comment 1 Edwin Groothuis freebsd_committer freebsd_triage 2012-07-26 13:01:09 UTC
Responsible Changed
From-To: freebsd-ports-bugs->gnome

Over to maintainer (via the GNATS Auto Assign Tool)
Comment 2 dfilter service freebsd_committer freebsd_triage 2012-12-29 06:22:29 UTC
Author: mezz
Date: Sat Dec 29 06:22:21 2012
New Revision: 309610
URL: http://svnweb.freebsd.org/changeset/ports/309610

Log:
  Fix the build with new binutils.
  
  PR:		ports/170191
  Submitted by:	Michael Moll <kvedulv@kvedulv.de>

Modified:
  head/x11/zenity/Makefile   (contents, props changed)

Modified: head/x11/zenity/Makefile
==============================================================================
--- head/x11/zenity/Makefile	Sat Dec 29 05:50:33 2012	(r309609)
+++ head/x11/zenity/Makefile	Sat Dec 29 06:22:21 2012	(r309610)
@@ -27,6 +27,7 @@ GNU_CONFIGURE=	yes
 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
 
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
Comment 3 Jeremy Messenger freebsd_committer freebsd_triage 2012-12-29 06:22:31 UTC
State Changed
From-To: open->closed

Committed, thanks! By the way, in the config.log shows that it fails in 
the test too with default binutils.