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:           Sat Mar 16 22:57:47 UTC 2024

Modified Files:
        pkgsrc/net/ncftp3: Makefile

Log Message:
ncftp3: Override its own sendfile(2) detection, which is broken on old Darwin


To generate a diff of this commit:
cvs rdiff -u -r1.39 -r1.40 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.39 pkgsrc/net/ncftp3/Makefile:1.40
--- pkgsrc/net/ncftp3/Makefile:1.39     Wed Jan 10 18:01:55 2024
+++ pkgsrc/net/ncftp3/Makefile  Sat Mar 16 22:57:47 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.39 2024/01/10 18:01:55 adam Exp $
+# $NetBSD: Makefile,v 1.40 2024/03/16 22:57:47 nia Exp $
 
 DISTNAME=      ncftp-3.2.7-src
 PKGNAME=       ${DISTNAME:S/ncftp/ncftp3/:S/-src//}
@@ -22,5 +22,9 @@ CONFIGURE_ARGS+=      --disable-universal
 CONFIGURE_ARGS+=       --disable-precomp
 .endif
 
+.if !defined(OPSYS_HAS_SENDFILE)
+CPPFLAGS+=             -DNO_SENDFILE=1
+.endif
+
 .include "../../mk/curses.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index