diff options
author | egypcio <egypcio@FreeBSD.org> | 2019-01-30 16:56:13 +0800 |
---|---|---|
committer | egypcio <egypcio@FreeBSD.org> | 2019-01-30 16:56:13 +0800 |
commit | 8c94f620d403c643fbfad87388b0107c19716211 (patch) | |
tree | 77179c37d2143b99788e7f911d8ae3c82cc54ebd /comms | |
parent | 04ac9e46cc9ee2a5fe27a963efa64d9213ac0f11 (diff) | |
download | freebsd-ports-gnome-8c94f620d403c643fbfad87388b0107c19716211.tar.gz freebsd-ports-gnome-8c94f620d403c643fbfad87388b0107c19716211.tar.zst freebsd-ports-gnome-8c94f620d403c643fbfad87388b0107c19716211.zip |
comms/ncid: fix build with GCC-based architectures
PR: 235289
Reported by: Piotr Kubaj <pkubaj % anongoth.pl>
Approved by: rene (mentor)
Sponsored by: IntegriCloud
Diffstat (limited to 'comms')
-rw-r--r-- | comms/ncid/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/comms/ncid/Makefile b/comms/ncid/Makefile index 1d5f27a71328..bc057c5171b9 100644 --- a/comms/ncid/Makefile +++ b/comms/ncid/Makefile @@ -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} |