Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 7 Apr 2017 15:58:51 +0000 (UTC)
From:      Dmitry Marakasov <amdmi3@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r437931 - head/lang/hla
Message-ID:  <201704071558.v37FwpDu026721@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
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 {} \;



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201704071558.v37FwpDu026721>