aboutsummaryrefslogtreecommitdiffstats
path: root/lang/hla
diff options
context:
space:
mode:
authoramdmi3 <amdmi3@FreeBSD.org>2017-04-07 23:58:51 +0800
committeramdmi3 <amdmi3@FreeBSD.org>2017-04-07 23:58:51 +0800
commitd5b311a43daafdd956f7bf85c8847c9484bd05f9 (patch)
tree75dd18cf55e427a09e364993c147f8dffbeba4fa /lang/hla
parent344d1e8c1e12abcb272288134b1eafcc124f46ec (diff)
downloadfreebsd-ports-gnome-d5b311a43daafdd956f7bf85c8847c9484bd05f9.tar.gz
freebsd-ports-gnome-d5b311a43daafdd956f7bf85c8847c9484bd05f9.tar.zst
freebsd-ports-gnome-d5b311a43daafdd956f7bf85c8847c9484bd05f9.zip
- Always accompany OSVERSION check with OPSYS check
Approved by: portmgr blanket
Diffstat (limited to 'lang/hla')
-rw-r--r--lang/hla/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/lang/hla/Makefile b/lang/hla/Makefile
index b524c4ca399d..d99534352465 100644
--- a/lang/hla/Makefile
+++ b/lang/hla/Makefile
@@ -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 {} \;