pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/opencv



Module Name:    pkgsrc
Committed By:   wiz
Date:           Thu Nov  2 21:48:27 UTC 2023

Modified Files:
        pkgsrc/graphics/opencv: hacks.mk

Log Message:
opencv: pkglint cleanup


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/graphics/opencv/hacks.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/opencv/hacks.mk
diff -u pkgsrc/graphics/opencv/hacks.mk:1.3 pkgsrc/graphics/opencv/hacks.mk:1.4
--- pkgsrc/graphics/opencv/hacks.mk:1.3 Wed Oct  6 21:10:24 2021
+++ pkgsrc/graphics/opencv/hacks.mk     Thu Nov  2 21:48:27 2023
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.3 2021/10/06 21:10:24 adam Exp $
+# $NetBSD: hacks.mk,v 1.4 2023/11/02 21:48:27 wiz Exp $
 
 .if !defined(OPENCV_HACKS_MK)
 OPENCV_HACKS_MK=       defined
@@ -7,7 +7,7 @@ OPENCV_HACKS_MK=        defined
 .include "../../mk/compiler.mk"
 
 # PR toolchain/47051: gcc-4.5.4 breaks opencv on amd64
-.if !empty(PKGSRC_COMPILER:Mgcc) && !empty(CC_VERSION:Mgcc-4.5.4*) && !empty(MACHINE_PLATFORM:M*-*-x86_64)
+.if !empty(PKGSRC_COMPILER:Mgcc) && ${CC_VERSION:Mgcc-4.5.4*} && ${MACHINE_PLATFORM:M*-*-x86_64}
 PKG_HACKS+=            tree-pre
 SUBST_CLASSES+=                opt-hack
 SUBST_STAGE.opt-hack=  post-configure



Home | Main Index | Thread Index | Old Index