Index: Makefile =================================================================== --- Makefile (revision 491546) +++ Makefile (working copy) @@ -59,6 +59,10 @@ -e 's|$$(prefix)/share|$${PREFIX}/share|g' \ -e 's|$$(SHARE)/man|$${MANPREFIX}/man/|g' \ -e 's|$$(SHARE)/ncid|$${DATADIR}|g' ${WRKSRC}/Makefile +.if exists(/usr/lib/libstdc++.so) + @${REINPLACE_CMD} -e 's|-Wno-stringop-truncation||g' \ + ${WRKSRC}/Makefile ${WRKSRC}/server/Makefile +.endif do-install: @${MKDIR} ${STAGEDIR}${ETCDIR}