svn commit: r325668 - head/x11-toolkits/open-motif

Boris Samorodov bsam at FreeBSD.org
Fri Aug 30 09:52:21 UTC 2013


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 at 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


More information about the svn-ports-head mailing list