svn commit: r437933 - head/shells/ksh93

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Apr 7 16:00:47 UTC 2017


Author: amdmi3
Date: Fri Apr  7 16:00:46 2017
New Revision: 437933
URL: https://svnweb.freebsd.org/changeset/ports/437933

Log:
  - Always accompany OSVERSION check with OPSYS check
  
  Approved by:	portmgr blanket

Modified:
  head/shells/ksh93/Makefile

Modified: head/shells/ksh93/Makefile
==============================================================================
--- head/shells/ksh93/Makefile	Fri Apr  7 16:00:06 2017	(r437932)
+++ head/shells/ksh93/Makefile	Fri Apr  7 16:00:46 2017	(r437933)
@@ -41,7 +41,7 @@ BROKEN_aarch64=		Fails to compile: error
 .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
 


More information about the svn-ports-all mailing list