mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-11 07:22:22 +00:00
- Fix the build with newish GCC [1]
- Stop caring for OSVERSIONs <= 500027 Reported by: pointyhat (logs) [1]
This commit is contained in:
parent
ea3e2694dd
commit
6e1ee96e3c
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=194636
@ -23,13 +23,8 @@ USE_AUTOTOOLS= libtool:15
|
||||
GNU_CONFIGURE= yes
|
||||
USE_LDCONFIG= yes
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
post-patch:
|
||||
@${REINPLACE_CMD} -e "s/cfree/free/g" ${WRKSRC}/src/list.c
|
||||
.if ${OSVERSION} <= 500027
|
||||
@${FIND} ${WRKSRC}/src -type f | ${XARGS} ${REINPLACE_CMD} \
|
||||
-e 's|<stdint.h>|<inttypes.h>|'
|
||||
.endif
|
||||
@${REINPLACE_CMD} -e "s/argv\[\]/*argv/" ${WRKSRC}/src/zzbind.h
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
.include <bsd.port.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user