diff options
author | amdmi3 <amdmi3@FreeBSD.org> | 2017-04-08 00:00:46 +0800 |
---|---|---|
committer | Koop Mast <kwm@rainbow-runner.nl> | 2017-04-09 21:34:07 +0800 |
commit | cdf734fd9437f50298215d2b4e1bffdef4808a47 (patch) | |
tree | 9dba50b4eeb68f5e5fa30b5c53c424bb561b6f34 /shells | |
parent | 60752eaf1ca7435b5cd0bb1f3cc2135093928be3 (diff) | |
download | freebsd-ports-gnome-cdf734fd9437f50298215d2b4e1bffdef4808a47.tar.gz freebsd-ports-gnome-cdf734fd9437f50298215d2b4e1bffdef4808a47.tar.zst freebsd-ports-gnome-cdf734fd9437f50298215d2b4e1bffdef4808a47.zip |
- Always accompany OSVERSION check with OPSYS check
Approved by: portmgr blanket
Diffstat (limited to 'shells')
-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 |