From 78807d7372c150e116c91e33f1f60d4a4a0aa32c Mon Sep 17 00:00:00 2001 From: Steve Price Date: Fri, 26 Nov 1999 18:25:20 +0000 Subject: Mark broken for anything except 2.x because our system awk (3.0.3) causes crashes and corrupted output. PR: 14420 Submitted by: maintainer --- news/cnews/Makefile | 14 +++++++++++++- news/cnews/pkg-plist | 4 +++- 2 files changed, 16 insertions(+), 2 deletions(-) (limited to 'news') diff --git a/news/cnews/Makefile b/news/cnews/Makefile index 33c1ad7c3c84..7c5320148039 100644 --- a/news/cnews/Makefile +++ b/news/cnews/Makefile @@ -44,6 +44,7 @@ MAN8= cnewsdo.8cn expire.8cn explode.8cn mergeactive.8 \ mkhistory.8cn newsaux.8cn newsbatch.8cn newsmail.8cn \ newsmaint.8cn newsoverview.8 relaynews.8cn report.8cn \ rnews.8cn +PLIST= ${WRKDIR}/.PLIST.sed MODIFY= conf/quiz.def \ conf/substitutions \ @@ -55,6 +56,13 @@ NEWSARTS?= /var/news NEWSOV?= /var/news/over.view PGPVERIFY?= pgpverify-1.12 +.include + +.if ${OSVERSION} < 300000 +.else +BROKEN= gawk need to be updated to 3.0.4 +.endif + pre-patch: @${CP} ${DISTDIR}/${DIST_SUBDIR}/${PGPVERIFY} ${WRKSRC}/${PGPVERIFY} @@ -70,6 +78,10 @@ pre-configure: -e "s=/usr/local/bin=${PREFIX}/bin=" \ ${WRKSRC}/${i}.sed >${WRKSRC}/${i} .endfor + @${SED} \ + -e "s=news/cnewsbin=${NEWSBIN:S=${PREFIX}/==}=" \ + -e "s=news/lib=${NEWSCTL:S=${PREFIX}/==}=" \ + ${PKGDIR}/PLIST >${PLIST} do-install: ${RM} -f ${PREFIX}/bin/inews @@ -106,4 +118,4 @@ do-install: @${ECHO} "!!!!!!!!" @${ECHO} "" -.include +.include diff --git a/news/cnews/pkg-plist b/news/cnews/pkg-plist index 2ea7609ebc3a..943a885adf63 100644 --- a/news/cnews/pkg-plist +++ b/news/cnews/pkg-plist @@ -150,5 +150,7 @@ news/lib/whoami @dirrm news/cnewsbin/maint @dirrm news/cnewsbin/nov @dirrm news/cnewsbin/relay -@dirrm news/lib/bin @dirrm news/cnewsbin +@dirrm news/lib/bin +@dirrm news/lib +@dirrm news -- cgit v1.2.3