mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-23 04:23:08 +00:00
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)
This commit is contained in:
parent
7c66b0b577
commit
47ba7fa2d2
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=335818
@ -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>
|
||||
|
Loading…
Reference in New Issue
Block a user