pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/dtorrent



Module Name:    pkgsrc
Committed By:   wiz
Date:           Wed Aug  6 14:01:53 UTC 2025

Modified Files:
        pkgsrc/net/dtorrent: Makefile
Removed Files:
        pkgsrc/net/dtorrent: MESSAGE

Log Message:
dtorrent: fix build on Darwin

>From Sotiris Lamprinidis in PR 59577.

While here, remove MESSAGE that just links to documentation.


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r0 pkgsrc/net/dtorrent/MESSAGE
cvs rdiff -u -r1.9 -r1.10 pkgsrc/net/dtorrent/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/dtorrent/Makefile
diff -u pkgsrc/net/dtorrent/Makefile:1.9 pkgsrc/net/dtorrent/Makefile:1.10
--- pkgsrc/net/dtorrent/Makefile:1.9    Tue Oct 24 22:10:14 2023
+++ pkgsrc/net/dtorrent/Makefile        Wed Aug  6 14:01:53 2025
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2023/10/24 22:10:14 wiz Exp $
+# $NetBSD: Makefile,v 1.10 2025/08/06 14:01:53 wiz Exp $
 #
 
 DISTNAME=      ctorrent-dnh3.3.2
@@ -20,6 +20,12 @@ GNU_CONFIGURE=               yes
 
 CONFIGURE_ARGS+=       --with-ssl=${SSLBASE}
 
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "Darwin" && ${OS_VERSION:R} > 15
+CFLAGS+=               -DHAVE_CLOCKID_T
+.endif
+
 DOCDIR=                        share/doc/ctorrent
 
 INSTALLATION_DIRS=     ${DOCDIR}



Home | Main Index | Thread Index | Old Index