summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2021-11-18 14:07:20 +0000
committernia <nia@pkgsrc.org>2021-11-18 14:07:20 +0000
commit1f9d84e8facfe2d1cfc91d580ea3ca86ba6e2e94 (patch)
tree85aaf2d4621524211d9d31dabc780e061c9bde0b /net
parent03f2fbf6439bca1834e8bd4113731e53e9ab1197 (diff)
downloadpkgsrc-1f9d84e8facfe2d1cfc91d580ea3ca86ba6e2e94.tar.gz
ncftp3: disable precompiled headers for GCC
incompatible with various hardening features among other nastiness
Diffstat (limited to 'net')
-rw-r--r--net/ncftp3/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/ncftp3/Makefile b/net/ncftp3/Makefile
index 027a79a31c5..afd57adcc79 100644
--- a/net/ncftp3/Makefile
+++ b/net/ncftp3/Makefile
@@ -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"