aboutsummaryrefslogtreecommitdiff
path: root/shells
diff options
context:
space:
mode:
Diffstat (limited to 'shells')
-rw-r--r--shells/ksh93/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/shells/ksh93/Makefile b/shells/ksh93/Makefile
index 1cabb1c138d5..deda36477f30 100644
--- a/shells/ksh93/Makefile
+++ b/shells/ksh93/Makefile
@@ -41,7 +41,7 @@ BROKEN_aarch64= Fails to compile: error: unknown type name Dllscan_t
.include <bsd.port.pre.mk>
post-patch:
-.if ${OSVERSION} >= 1100093
+.if ${OPSYS} == FreeBSD && ${OSVERSION} >= 1100093
@${REINPLACE_CMD} -e 's|SF_FLAGS|SFIO_FLAGS|g' ${WRKSRC}/src/lib/libast/include/sfio*.h ${WRKSRC}/src/lib/libast/sfio/*.c
.endif