mirror of
https://git.freebsd.org/ports.git
synced 2025-07-18 01:39:16 -04:00
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:
parent
2c0f6ac987
commit
df40b2cd34
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=491610
1 changed files with 4 additions and 0 deletions
|
@ -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}
|
||||
|
|
Loading…
Add table
Reference in a new issue