----- /bin/sh /usr/local/bin/libtool --tag=CC --mode=link cc -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include -L/usr/local/lib -o wmldbcreate wmldbcreate.o ../../lib/Xm/libXm.la -lXp -L/usr/local/lib -lXft -lXrender -L/usr/local/lib -lXft -ljpeg -lpng libtool: link: cc -O2 -pipe -fno-strict-aliasing -std=gnu89 -Wall -g -fno-strict-aliasing -Wno-unused -Wno-comment -fno-tree-ter -DCSRG_BASED -DXNO_MTSAFE_API -DXNO_MTSAFE_PWDAPI -D_THREAD_SAFE -I/usr/local/include/freetype2 -I/usr/local/include -o .libs/wmldbcreate wmldbcreate.o -L/usr/local/lib ../../lib/Xm/.libs/libXm.so /usr/local/lib/libXmu.so /usr/local/lib/libXt.so /usr/local/lib/libSM.so /usr/local/lib/libICE.so /usr/local/lib/libXp.so /usr/local/lib/libXext.so /usr/local/lib/libXft.so /usr/local/lib/libfontconfig.so /usr/local/lib/libexpat.so /usr/local/lib/libfreetype.so -lz -lbz2 /usr/local/lib/libXrender.so /usr/local/lib/libX11.so /usr/local/lib/libxcb.so /usr/local/lib/libXau.so /usr/local/lib/libXdmcp.so /usr/local/lib/libpthread-stubs.so -lrpcsvc /usr/local/lib/libjpeg.so -lpng -pthread -Wl,-rpath -Wl,/usr/local/lib ./../lib/Xm/.libs/libXm.so: undefined reference to `libiconv' ./../lib/Xm/.libs/libXm.so: undefined reference to `libiconv_close' ./../lib/Xm/.libs/libXm.so: undefined reference to `libiconv_open' cc: error: linker command failed with exit code 1 (use -v to see invocation) gmake[3]: *** [wmldbcreate] Error 1 gmake[3]: Leaving directory `/usr/ports/x11-toolkits/open-motif/work/motif-2.3.4/tools/wml' gmake[2]: *** [all-recursive] Error 1 ----- Fix: Patch attached with submission follows: How-To-Repeat: Use fresh 10.x and try to build x11-toolkits/open-motif.
Maintainer of x11-toolkits/open-motif, Please note that PR ports/181579 has just been submitted. If it contains a patch for an upgrade, an enhancement or a bug fix you agree on, reply to this email stating that you approve the patch and a committer will take care of it. The full text of the PR can be found at: http://www.freebsd.org/cgi/query-pr.cgi?pr=ports/181579 -- Edwin Groothuis via the GNATS Auto Assign Tool edwin@FreeBSD.org
State Changed From-To: open->feedback Awaiting maintainers feedback (via the GNATS Auto Assign Tool)
Responsible Changed From-To: freebsd-ports-bugs->bsam Take my PR. ;-)
Approved, Thanks! -- Mikhail
Author: bsam Date: Fri Aug 30 09:52:20 2013 New Revision: 325668 URL: http://svnweb.freebsd.org/changeset/ports/325668 Log: Fix build at 10.x after recent changes at /usr/bin/ld. Error log: ---- ./../lib/Xm/.libs/libXm.so: undefined reference to `libiconv' ./../lib/Xm/.libs/libXm.so: undefined reference to `libiconv_close' ./../lib/Xm/.libs/libXm.so: undefined reference to `libiconv_open' ----- PR: ports/181579 Submitted by: bsam (me) Approved by: Mikhail Tsatsenko <m.tsatsenko@gmail.com> (maintainer) Modified: head/x11-toolkits/open-motif/Makefile Modified: head/x11-toolkits/open-motif/Makefile ============================================================================== --- head/x11-toolkits/open-motif/Makefile Fri Aug 30 08:19:28 2013 (r325667) +++ head/x11-toolkits/open-motif/Makefile Fri Aug 30 09:52:20 2013 (r325668) @@ -30,6 +30,7 @@ GNU_CONFIGURE= yes USE_LDCONFIG= yes MAKE_ENV= LANG=C CPPFLAGS+= -DCSRG_BASED -DXUSE_MTSAFE_API -DXNO_MTSAFE_PWDAPI -I${PREFIX}/include +LDFLAGS+= -L${PREFIX}/lib -liconv USE_CSTD= gnu89 DEMOS_SRC= ${WRKSRC}/demos/programs _______________________________________________ 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"
State Changed From-To: feedback->closed Committed, thanks! ;-)