pkgsrc-Changes archive

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

CVS commit: pkgsrc/editors/codeblocks



Module Name:    pkgsrc
Committed By:   gdt
Date:           Sat Nov 23 19:39:30 UTC 2019

Modified Files:
        pkgsrc/editors/codeblocks: hacks.mk

Log Message:
editors/codeblocks: Check for compiling with gcc correctly


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/editors/codeblocks/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/editors/codeblocks/hacks.mk
diff -u pkgsrc/editors/codeblocks/hacks.mk:1.2 pkgsrc/editors/codeblocks/hacks.mk:1.3
--- pkgsrc/editors/codeblocks/hacks.mk:1.2      Sat Jun  8 10:40:53 2019
+++ pkgsrc/editors/codeblocks/hacks.mk  Sat Nov 23 19:39:30 2019
@@ -1,11 +1,11 @@
-# $NetBSD: hacks.mk,v 1.2 2019/06/08 10:40:53 rillig Exp $
+# $NetBSD: hacks.mk,v 1.3 2019/11/23 19:39:30 gdt Exp $
 
 ### g++ 4.8 and 5.3 on NetBSD/i386 fails with an internal compiler error
 ### when PCH is used. Be conservative and disable on all MACHINE_ARCH
 ###
 .if ${OPSYS} == "NetBSD"
 .  include "../../mk/compiler.mk"
-.  if ${PKGSRC_COMPILER} == "gcc" && \
+.  if !empty(${PKGSRC_COMPILER:Mgcc}) && \
       (!empty(CC_VERSION:Mgcc-4.8.*) || !empty(CC_VERSION:Mgcc-5.*))
 CONFIGURE_ARGS+=       --disable-pch
 .  endif



Home | Main Index | Thread Index | Old Index