comms/ncid: fix build with GCC-based architectures

PR:		235289
Reported by:	Piotr Kubaj <pkubaj % anongoth.pl>
Approved by:	rene (mentor)
Sponsored by:	IntegriCloud
This commit is contained in:
Vinícius Zavam 2019-01-30 08:56:13 +00:00
parent 2c0f6ac987
commit df40b2cd34
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491610

View file

@ -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}