From owner-freebsd-ports-bugs@FreeBSD.ORG Tue Aug 27 08:30:00 2013 Return-Path: Delivered-To: freebsd-ports-bugs@smarthost.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id AE11D765 for ; Tue, 27 Aug 2013 08:30:00 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8DED92601 for ; Tue, 27 Aug 2013 08:30:00 +0000 (UTC) Received: from freefall.freebsd.org (localhost [127.0.0.1]) by freefall.freebsd.org (8.14.7/8.14.7) with ESMTP id r7R8U0w1042251 for ; Tue, 27 Aug 2013 08:30:00 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.7/8.14.7/Submit) id r7R8U0Q9042250; Tue, 27 Aug 2013 08:30:00 GMT (envelope-from gnats) Resent-Date: Tue, 27 Aug 2013 08:30:00 GMT Resent-Message-Id: <201308270830.r7R8U0Q9042250@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Boris Samorodov Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 8509375D for ; Tue, 27 Aug 2013 08:29:39 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from oldred.freebsd.org (oldred.freebsd.org [8.8.178.121]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 5890125FC for ; Tue, 27 Aug 2013 08:29:39 +0000 (UTC) Received: from oldred.freebsd.org ([127.0.1.6]) by oldred.freebsd.org (8.14.5/8.14.7) with ESMTP id r7R8Tdm1024494 for ; Tue, 27 Aug 2013 08:29:39 GMT (envelope-from nobody@oldred.freebsd.org) Received: (from nobody@localhost) by oldred.freebsd.org (8.14.5/8.14.5/Submit) id r7R8Tc6w024493; Tue, 27 Aug 2013 08:29:38 GMT (envelope-from nobody) Message-Id: <201308270829.r7R8Tc6w024493@oldred.freebsd.org> Date: Tue, 27 Aug 2013 08:29:38 GMT From: Boris Samorodov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Subject: ports/181579: [patch] x11-toolkits/open-motif: fix build at 10.x after recent changes at /usr/bin/ld X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 27 Aug 2013 08:30:00 -0000 >Number: 181579 >Category: ports >Synopsis: [patch] x11-toolkits/open-motif: fix build at 10.x after recent changes at /usr/bin/ld >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Tue Aug 27 08:30:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Boris Samorodov >Release: FreeBSD 10-amd64 >Organization: BSDprint >Environment: FreeBSD srv.bb.tel.ru 10.0-CURRENT FreeBSD 10.0-CURRENT #7 r253953: Mon Aug 5 16:16:42 SAMT 2013 bsam@srv.bb.tel.ru:/usr/obj/usr/src/sys/BB64X amd64 >Description: ----- /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 ----- >How-To-Repeat: Use fresh 10.x and try to build x11-toolkits/open-motif. >Fix: Patch attached with submission follows: Index: Makefile =================================================================== --- Makefile (revision 325286) +++ Makefile (working copy) @@ -30,6 +30,7 @@ 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 >Release-Note: >Audit-Trail: >Unformatted: