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:   nia
Date:           Thu Nov 18 14:07:59 UTC 2021

Modified Files:
        pkgsrc/editors/codeblocks: Makefile

Log Message:
codeblocks: disable precompiled headers for GCC

incompatible with various hardening features among other nastiness


To generate a diff of this commit:
cvs rdiff -u -r1.18 -r1.19 pkgsrc/editors/codeblocks/Makefile

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/Makefile
diff -u pkgsrc/editors/codeblocks/Makefile:1.18 pkgsrc/editors/codeblocks/Makefile:1.19
--- pkgsrc/editors/codeblocks/Makefile:1.18     Mon Aug 17 20:18:31 2020
+++ pkgsrc/editors/codeblocks/Makefile  Thu Nov 18 14:07:59 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2020/08/17 20:18:31 leot Exp $
+# $NetBSD: Makefile,v 1.19 2021/11/18 14:07:59 nia Exp $
 #
 
 DISTNAME=      codeblocks-20.03
@@ -17,6 +17,12 @@ USE_LIBTOOL= yes
 USE_TOOLS+=    pkg-config gmake
 USE_LANGUAGES= c c++11
 
+.include "../../mk/bsd.prefs.mk"
+
+.if !empty(PKGSRC_COMPILER:M*gcc*)
+CONFIGURE_ARGS+=       --disable-pch
+.endif
+
 #CONFIGURE_ARGS+=      --disable-gtk-notebook
 CONFIGURE_ARGS+=       --with-contrib-plugins=AutoVersioning,BrowseTracker,-MouseSap,byogames,cbkoders,codesnippets,codestat,dragscroll,envvars,help,keybinder,libfinder,profiler,regex,exporter,symtab
 # wxsmith makes error in build process



Home | Main Index | Thread Index | Old Index