Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 30 Jan 2019 08:56:13 +0000 (UTC)
From:      =?UTF-8?Q?Vin=c3=adcius_Zavam?= <egypcio@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r491610 - head/comms/ncid
Message-ID:  <201901300856.x0U8uDpj090069@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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}



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