svn commit: r437931 - head/lang/hla

Dmitry Marakasov amdmi3 at FreeBSD.org
Fri Apr 7 15:58:53 UTC 2017


Author: amdmi3
Date: Fri Apr  7 15:58:51 2017
New Revision: 437931
URL: https://svnweb.freebsd.org/changeset/ports/437931

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

Modified:
  head/lang/hla/Makefile

Modified: head/lang/hla/Makefile
==============================================================================
--- head/lang/hla/Makefile	Fri Apr  7 15:57:24 2017	(r437930)
+++ head/lang/hla/Makefile	Fri Apr  7 15:58:51 2017	(r437931)
@@ -39,7 +39,7 @@ post-extract:
 	${MKDIR} ${WRKDIR}/stdlib && \
 	    ${TAR} -zxf ${_DISTDIR}/bsd.${PORTNAME}.tar.gz -C ${WRKDIR}/stdlib
 	${CP} ${_DISTDIR}/lex.yy.c ${WRKSRC}
-.if ${OSVERSION} < 1100077
+.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1100077
 # chmod -R bug.
 # Do not use "-exec ... +", because of the same bug, it will not work.
 	@${FIND} ${WRKDIR} -type d -exec ${CHMOD} 755 {} \;


More information about the svn-ports-head mailing list