1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-29 10:18:30 +00:00

Fix build on CURRENT after r293439.

This commit is contained in:
Jung-uk Kim 2016-01-14 00:08:15 +00:00
parent 802f6d8ff0
commit 5778f5972f
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=406084

View File

@ -16,11 +16,19 @@ EXTRACT_BEFORE_ARGS= -idF
EXTRACT_AFTER_ARGS= # empty
NO_WRKSUBDIR= yes
.include <bsd.port.pre.mk>
# Remove a test that's too clever for its own good
post-extract:
@${MV} ${WRKSRC}/src/lib/sfio/Sfio_t/tmmap2read.c \
${WRKSRC}/src/lib/sfio/Sfio_t/.tmmap2read.c
.if ${OSVERSION} >= 1100093
post-patch:
${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' \
${WRKSRC}/src/lib/sfio/*.[ch]
.endif
do-build:
@cd ${WRKSRC}/src/lib/sfio && ${MAKE} all -f makefile
@ -31,4 +39,4 @@ do-install:
${INSTALL_MAN} ${WRKSRC}/man/man1/iffe.1 ${STAGEDIR}${PREFIX}/man/man1
${INSTALL_MAN} ${WRKSRC}/man/man3/sfio.3 ${STAGEDIR}${PREFIX}/man/man3
.include <bsd.port.mk>
.include <bsd.port.post.mk>