diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-04-08 00:00:46 +0800 |
---|---|---|
committer | amdmi3 <amdmi3@FreeBSD.org> | 2017-04-08 00:00:46 +0800 |
commit | 843d98acbd3df4d31c67cdf11a97160d009c82e2 (patch) | |
tree | 7ae665073e2d710327bf0468231c79165b5fd08d /shells/ksh93 | |
parent | 9c038d8ae1c213ada3e3bd209346b00976aa41b9 (diff) | |
download | freebsd-ports-gnome-843d98acbd3df4d31c67cdf11a97160d009c82e2.tar.gz freebsd-ports-gnome-843d98acbd3df4d31c67cdf11a97160d009c82e2.tar.zst freebsd-ports-gnome-843d98acbd3df4d31c67cdf11a97160d009c82e2.zip |
- Always accompany OSVERSION check with OPSYS check
Approved by: portmgr blanket
Diffstat (limited to 'shells/ksh93')
-rw-r--r-- | shells/ksh93/Makefile | 2 |
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 |