1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-28 01:06:17 +00:00

Fix on 4-STABLE.

PR:		38410
Submitted by:	Oliver Braun <obraun@informatik.unibw-muenchen.de>
This commit is contained in:
Maxim Sobolev 2002-05-22 12:08:01 +00:00
parent 0a4681b2a2
commit 2db7ccc268
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=59691

View File

@ -18,7 +18,13 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
.include <bsd.port.pre.mk>
post-patch:
@${PERL} -pi -e "s/cfree/free/g" ${WRKSRC}/src/list.c
.if ${OSVERSION} <= 500027
@${FIND} ${WRKSRC}/src -type f | ${XARGS} ${PERL} -pi \
-e 's|<stdint.h>|<inttypes.h>|'
.endif
.include <bsd.port.mk>
.include <bsd.port.post.mk>