From 5778f5972f986f33a9be7d15e6ce708dad3b87c4 Mon Sep 17 00:00:00 2001 From: Jung-uk Kim Date: Thu, 14 Jan 2016 00:08:15 +0000 Subject: [PATCH] Fix build on CURRENT after r293439. --- devel/sfio/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/devel/sfio/Makefile b/devel/sfio/Makefile index e6040d3889a9..15617b790400 100644 --- a/devel/sfio/Makefile +++ b/devel/sfio/Makefile @@ -16,11 +16,19 @@ EXTRACT_BEFORE_ARGS= -idF EXTRACT_AFTER_ARGS= # empty NO_WRKSUBDIR= yes +.include + # 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 +.include