Wed Apr 24 14:39:31 2024 UTC (32d)
trn: Add NOT_FOR_BULK_PLATFORM for Darwin.

For some reason this software tries to locate libc.  On at least modern
versions of macOS this fails and so it runs an interactive program to
ask the user where it lives.  This causes infinite loops in bulk builds.


(jperkin)
diff -r1.52 -r1.53 pkgsrc/news/trn/Makefile

cvs diff -r1.52 -r1.53 pkgsrc/news/trn/Makefile (expand / switch to unified diff)

--- pkgsrc/news/trn/Makefile 2022/12/15 11:30:36 1.52
+++ pkgsrc/news/trn/Makefile 2024/04/24 14:39:31 1.53
@@ -1,28 +1,31 @@ @@ -1,28 +1,31 @@
1# $NetBSD: Makefile,v 1.52 2022/12/15 11:30:36 jperkin Exp $ 1# $NetBSD: Makefile,v 1.53 2024/04/24 14:39:31 jperkin Exp $
2 2
3DISTNAME= trn-4.0-test77 3DISTNAME= trn-4.0-test77
4PKGNAME= trn-4.77 4PKGNAME= trn-4.77
5PKGREVISION= 7 5PKGREVISION= 7
6CATEGORIES= news 6CATEGORIES= news
7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=trn/} 7MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=trn/}
8 8
9MAINTAINER= pkgsrc-users@NetBSD.org 9MAINTAINER= pkgsrc-users@NetBSD.org
10HOMEPAGE= http://trn.sourceforge.net/ 10HOMEPAGE= http://trn.sourceforge.net/
11COMMENT= Threaded version of rn, the classic news reader 11COMMENT= Threaded version of rn, the classic news reader
12LICENSE= trn-license 12LICENSE= trn-license
13 13
14PKG_SYSCONFSUBDIR= nntp 14PKG_SYSCONFSUBDIR= nntp
15 15
 16# Runs an interactive program to determine where libc is.
 17NOT_FOR_BULK_PLATFORM+= Darwin-*-*
 18
16.include "options.mk" 19.include "options.mk"
17 20
18# TRN_HOSTBITS determines the number of "name segments" (x.y.z.com), counting 21# TRN_HOSTBITS determines the number of "name segments" (x.y.z.com), counting
19# from right to left, that TRN will match to allow cancels, with 0 requiring 22# from right to left, that TRN will match to allow cancels, with 0 requiring
20# a perfect match. For example, with TRN_HOSTBITS=3, x.y.z.com will match 23# a perfect match. For example, with TRN_HOSTBITS=3, x.y.z.com will match
21# foo.y.z.com for the purposes of allowing cancels. 24# foo.y.z.com for the purposes of allowing cancels.
22TRN_HOSTBITS?= 0 25TRN_HOSTBITS?= 0
23 26
24HAS_CONFIGURE= yes 27HAS_CONFIGURE= yes
25CONFIGURE_SCRIPT= ./Configure 28CONFIGURE_SCRIPT= ./Configure
26CONFIGURE_ENV+= PREFIX=${PREFIX:Q} 29CONFIGURE_ENV+= PREFIX=${PREFIX:Q}
27USE_TOOLS+= awk basename cat cp diff echo egrep expr grep mkdir mv 30USE_TOOLS+= awk basename cat cp diff echo egrep expr grep mkdir mv
28USE_TOOLS+= perl:run rm sed tail tr yacc 31USE_TOOLS+= perl:run rm sed tail tr yacc