pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/net/ncftp3 ncftp3: disable precompiled headers for GCC
details: https://anonhg.NetBSD.org/pkgsrc/rev/81a5130a0c1b
branches: trunk
changeset: 769668:81a5130a0c1b
user: nia <nia%pkgsrc.org@localhost>
date: Thu Nov 18 14:07:20 2021 +0000
description:
ncftp3: disable precompiled headers for GCC
incompatible with various hardening features among other nastiness
diffstat:
net/ncftp3/Makefile | 7 ++++++-
1 files changed, 6 insertions(+), 1 deletions(-)
diffs (20 lines):
diff -r 0e662c859745 -r 81a5130a0c1b net/ncftp3/Makefile
--- a/net/ncftp3/Makefile Thu Nov 18 13:57:34 2021 +0000
+++ b/net/ncftp3/Makefile Thu Nov 18 14:07:20 2021 +0000
@@ -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 @@
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