summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
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"