pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/darktable darktable: Only enable hack when GC...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/bff6a31dcdc6
branches:  trunk
changeset: 381011:bff6a31dcdc6
user:      nia <nia%pkgsrc.org@localhost>
date:      Thu Jun 23 09:32:57 2022 +0000

description:
darktable: Only enable hack when GCC is in use.

diffstat:

 graphics/darktable/hacks.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (16 lines):

diff -r e037fc59fd9f -r bff6a31dcdc6 graphics/darktable/hacks.mk
--- a/graphics/darktable/hacks.mk       Thu Jun 23 09:11:39 2022 +0000
+++ b/graphics/darktable/hacks.mk       Thu Jun 23 09:32:57 2022 +0000
@@ -1,10 +1,10 @@
-# $NetBSD: hacks.mk,v 1.1 2022/06/23 07:08:36 nia Exp $
+# $NetBSD: hacks.mk,v 1.2 2022/06/23 09:32:57 nia Exp $
 
 .if !defined(DARKTABLE_HACKS_MK)
 DARKTABLE_HACKS_MK:=
 
 .  include "../../mk/bsd.fast.prefs.mk"
-.  if ${OPSYS} == "NetBSD"
+.  if ${OPSYS} == "NetBSD" && !empty(PKGSRC_COMPILER:M*gcc*)
 PKG_HACKS+=            disable-graphite-opt
 # Disable some of the more ridiculous compiler flags being used, that are
 # creating build failures with the system compiler on NetBSD due to the



Home | Main Index | Thread Index | Old Index