MFH: r564145

x11/swaylock-effects: unbreak on armv6 + armv7

../effects.c:3:10: fatal error: 'omp.h' file not found
 #include <omp.h>
          ^~~~~~~

Reported by:	pkg-fallout
This commit is contained in:
Jan Beich 2021-02-05 18:38:50 +00:00
parent 9ff79c5765
commit 6ee3ed3f93
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/branches/2021Q1/; revision=564146

View File

@ -18,4 +18,9 @@ DISTINFO_FILE= ${.CURDIR}/distinfo
GH_ACCOUNT= mortie
GH_PROJECT= ${PORTNAME}${PKGNAMESUFFIX}
.if !exists(/usr/include/omp.h)
# XXX ports/199603: LLVM openmp in base doesn't support armv6, armv7 yet
USE_GCC= yes
.endif
.include "${MASTERDIR}/Makefile"