summaryrefslogtreecommitdiff
path: root/shells/ksh93
diff options
context:
space:
mode:
authorDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-07 16:00:46 +0000
committerDmitry Marakasov <amdmi3@FreeBSD.org>2017-04-07 16:00:46 +0000
commit3a56d2db507cb8eec93515c681edbd59f1af2d48 (patch)
tree7ae665073e2d710327bf0468231c79165b5fd08d /shells/ksh93
parent- Always accompany OSVERSION check with OPSYS check (diff)
- Always accompany OSVERSION check with OPSYS check
Approved by: portmgr blanket
Notes
Notes: svn path=/head/; revision=437933
Diffstat (limited to 'shells/ksh93')
-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