pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/ncftp3



Module Name:    pkgsrc
Committed By:   nia
Date:           Thu Nov 18 14:07:20 UTC 2021

Modified Files:
        pkgsrc/net/ncftp3: Makefile

Log Message:
ncftp3: disable precompiled headers for GCC

incompatible with various hardening features among other nastiness


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/net/ncftp3/Makefile

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

Modified files:

Index: pkgsrc/net/ncftp3/Makefile
diff -u pkgsrc/net/ncftp3/Makefile:1.34 pkgsrc/net/ncftp3/Makefile:1.35
--- pkgsrc/net/ncftp3/Makefile:1.34     Mon May 24 19:53:21 2021
+++ pkgsrc/net/ncftp3/Makefile  Thu Nov 18 14:07:20 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2021/05/24 19:53:21 wiz Exp $
+# $NetBSD: Makefile,v 1.35 2021/11/18 14:07:20 nia Exp $
 
 DISTNAME=      ncftp-3.2.6-src
 PKGNAME=       ${DISTNAME:S/ncftp/ncftp3/:S/-src//}
@@ -18,5 +18,10 @@ USE_TOOLS+=          perl:build
 GNU_CONFIGURE=         yes
 CONFIGURE_ARGS+=       --disable-universal
 
+.include "../../mk/bsd.prefs.mk"
+.if !empty(PKGSRC_COMPILER:M*gcc*)
+CONFIGURE_ARGS+=       --disable-precomp
+.endif
+
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index