Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 5 Feb 2021 18:37:21 +0000 (UTC)
From:      Jan Beich <jbeich@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r564145 - head/x11/swaylock-effects
Message-ID:  <202102051837.115IbLcC053111@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: jbeich
Date: Fri Feb  5 18:37:20 2021
New Revision: 564145
URL: https://svnweb.freebsd.org/changeset/ports/564145

Log:
  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

Modified:
  head/x11/swaylock-effects/Makefile   (contents, props changed)

Modified: head/x11/swaylock-effects/Makefile
==============================================================================
--- head/x11/swaylock-effects/Makefile	Fri Feb  5 18:13:32 2021	(r564144)
+++ head/x11/swaylock-effects/Makefile	Fri Feb  5 18:37:20 2021	(r564145)
@@ -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"



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