Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 7 Dec 2013 09:20:01 GMT
From:      dfilter@FreeBSD.ORG (dfilter service)
To:        gnome@FreeBSD.org
Subject:   Re: ports/184138: commit references a PR
Message-ID:  <201312070920.rB79K10J033670@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/184138; it has been noted by GNATS.

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/184138: commit references a PR
Date: Sat,  7 Dec 2013 09:12:11 +0000 (UTC)

 Author: bsam
 Date: Sat Dec  7 09:11:54 2013
 New Revision: 335818
 URL: http://svnweb.freebsd.org/changeset/ports/335818
 
 Log:
   Fix build at 10.x and up (hardcoded -lstdc++):
   -----
   libtool: link: c++ -shared -nostdlib /usr/lib/crti.o /usr/lib/crtbeginS.o  .libs/wmf.o   -Wl,-rpath -Wl,/usr/local/lib -Wl,-rpath -Wl,/usr/local/lib -L/usr/local/lib /usr/local/lib/libEMF.so -lstdc++ -lpng -lz -L/usr/lib -lc++ -lm -lc -lgcc -lgcc_s /usr/lib/crtendS.o /usr/lib/crtn.o    -Wl,-soname -Wl,libwmf_filter.so -o .libs/libwmf_filter.so
   /usr/bin/ld: cannot find -lstdc++
   -----
   
   PR:		ports/184138
   Submitted by:	bsam (me)
   Approved by:	gnome (maintainer timeout, 2 weeks)
 
 Modified:
   head/graphics/dia/Makefile
 
 Modified: head/graphics/dia/Makefile
 ==============================================================================
 --- head/graphics/dia/Makefile	Sat Dec  7 09:07:40 2013	(r335817)
 +++ head/graphics/dia/Makefile	Sat Dec  7 09:11:54 2013	(r335818)
 @@ -72,7 +72,7 @@ post-patch:
  		's,\(^GTK_LIBS.*\),\1 ${PTHREAD_LIBS}, ; \
  		 s,\(^GTK_CFLAGS = \),\1 ${PTHREAD_CFLAGS} ,'
  	@${REINPLACE_CMD} -e 's|http://docbook.sourceforge.net/release/xsl/current/manpages/docbook.xsl|${LOCALBASE}/share/xsl/docbook/manpages/docbook.xsl| ; \
 -		s|echo aout|echo elf|g ; s|/usr/include/libEMF|${LOCALBASE}/include/libEMF|g' \
 -		${WRKSRC}/configure
 +		s|echo aout|echo elf|g ; s|/usr/include/libEMF|${LOCALBASE}/include/libEMF|g ; \
 +		s|-lstdc++||g'  ${WRKSRC}/configure
  
  .include <bsd.port.post.mk>
 _______________________________________________
 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"
 



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201312070920.rB79K10J033670>