svn commit: r491610 - head/comms/ncid

Vinícius Zavam egypcio at FreeBSD.org
Wed Jan 30 08:56:14 UTC 2019


Author: egypcio
Date: Wed Jan 30 08:56:13 2019
New Revision: 491610
URL: https://svnweb.freebsd.org/changeset/ports/491610

Log:
  comms/ncid: fix build with GCC-based architectures
  
  PR:		235289
  Reported by:	Piotr Kubaj <pkubaj % anongoth.pl>
  Approved by:	rene (mentor)
  Sponsored by:	IntegriCloud

Modified:
  head/comms/ncid/Makefile

Modified: head/comms/ncid/Makefile
==============================================================================
--- head/comms/ncid/Makefile	Wed Jan 30 07:58:00 2019	(r491609)
+++ head/comms/ncid/Makefile	Wed Jan 30 08:56:13 2019	(r491610)
@@ -59,6 +59,10 @@ post-patch:
 		-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}


More information about the svn-ports-head mailing list