From Mark_Andrews@isc.org  Tue Nov 14 00:21:41 2006
Return-Path: <Mark_Andrews@isc.org>
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 9C7B116A412
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Nov 2006 00:21:41 +0000 (UTC)
	(envelope-from Mark_Andrews@isc.org)
Received: from mx.isc.org (mx.isc.org [204.152.184.167])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 7016143D75
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Nov 2006 00:21:30 +0000 (GMT)
	(envelope-from Mark_Andrews@isc.org)
Received: from farside.isc.org (farside.isc.org [IPv6:2001:4f8:3:bb::5])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "farside.isc.org", Issuer "ISC CA" (verified OK))
	by mx.isc.org (Postfix) with ESMTP id 5AA57114029
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Nov 2006 00:21:30 +0000 (UTC)
	(envelope-from Mark_Andrews@isc.org)
Received: from bsdi.dv.isc.org (localhost.isc.org [IPv6:::1])
	(using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits))
	(Client CN "bsdi.dv.isc.org", Issuer "ISC CA" (verified OK))
	by farside.isc.org (Postfix) with ESMTP id B6087E60A0
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Nov 2006 00:21:29 +0000 (UTC)
	(envelope-from marka@isc.org)
Received: from bsdi.dv.isc.org (localhost.dv.isc.org [127.0.0.1])
	by bsdi.dv.isc.org (8.13.8/8.13.8) with ESMTP id kAE0LPdO053166
	(version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO)
	for <FreeBSD-gnats-submit@freebsd.org>; Tue, 14 Nov 2006 11:21:26 +1100 (EST)
	(envelope-from marka@bsdi.dv.isc.org)
Received: (from marka@localhost)
	by bsdi.dv.isc.org (8.13.8/8.13.8/Submit) id kAE0LO2c053165;
	Tue, 14 Nov 2006 11:21:24 +1100 (EST)
	(envelope-from marka)
Message-Id: <200611140021.kAE0LO2c053165@bsdi.dv.isc.org>
Date: Tue, 14 Nov 2006 11:21:24 +1100 (EST)
From: Mark Andrews <Mark_Andrews@isc.org>
Reply-To: Mark Andrews <Mark_Andrews@isc.org>
To: FreeBSD-gnats-submit@freebsd.org
Cc:
Subject: "make index" with NOPORTDOCS=true fails
X-Send-Pr-Version: 3.113
X-GNATS-Notify: shoesoft@gmx.net

>Number:         105498
>Category:       ports
>Synopsis:       "make index" with NOPORTDOCS=true fails
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    stefan
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue Nov 14 00:30:02 GMT 2006
>Closed-Date:    Sat Nov 18 19:22:28 GMT 2006
>Last-Modified:  Sat Nov 18 19:30:21 GMT 2006
>Originator:     Mark Andrews
>Release:        FreeBSD 4.11-STABLE i386
>Organization:
ISC
>Environment:
System: FreeBSD bsdi.dv.isc.org 4.11-STABLE FreeBSD 4.11-STABLE #30: Mon Oct 23 08:56:59 EST 2006 marka@bsdi.dv.isc.org:/usr/obj/usr/src/sys/BSDI i386


$FreeBSD: ports/devel/ice/Makefile,v 1.9 2006/11/10 12:12:20 laszlof Exp $

>Description:

	Ports "make index" with NOPORTDOCS=true fails.

bsdi# make index
Generating INDEX - please wait.."Makefile", line 44: Unassociated shell command "${RM} -rf ${WRKSRC}/doc"
make: fatal errors encountered -- cannot continue
===> devel/ice failed
*** Error code 1
1 error

********************************************************************
Before reporting this error, verify that you are running a supported
version of FreeBSD (see http://www.FreeBSD.org/ports/) and that you
have a complete and up-to-date ports collection.  (INDEX builds are
not supported with partial or out-of-date ports collections -- in
particular, if you are using cvsup, you must cvsup the "ports-all"
collection, and have no "refuse" files.)  If that is the case, then
report the failure to ports@FreeBSD.org together with relevant
details of your ports configuration (including FreeBSD version,
your architecture, your environment, and your /etc/make.conf
settings, especially compiler flags and WITH/WITHOUT settings).

Note: the latest pre-generated version of INDEX may be fetched
automatically with "make fetchindex".
********************************************************************

*** Error code 1

Stop in /scratch/ports.
*** Error code 1

Stop in /scratch/ports.

>How-To-Repeat:

	Add NOPORTDOCS=true to /etc/make.conf and run "make index"

>Fix:

	I presume 

		.if defined(NOPORTDOCS)
			${RM} -rf ${WRKSRC}/doc
		.endif

	needs to me moved into post-patch however I don't use this port.


>Release-Note:
>Audit-Trail:
State-Changed-From-To: open->feedback 
State-Changed-By: edwin 
State-Changed-When: Tue Nov 14 01:46:36 UTC 2006 
State-Changed-Why:  
Awaiting maintainers feedback 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105498 

From: Stefan Ehmann <shoesoft@gmx.net>
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/105498: devel/ice - "make index" with NOPORTDOCS=true
	fails
Date: Tue, 14 Nov 2006 13:53:08 +0100

 I'd prefer the following fix:
 
 --- ice.bak/Makefile	Tue Nov 14 13:45:31 2006
 +++ ice/Makefile	Tue Nov 14 13:37:47 2006
 @@ -41,7 +41,7 @@
  .endif
  
  .if defined(NOPORTDOCS)
 -	${RM} -rf ${WRKSRC}/doc
 +MAKE_ENV+=	NOPORTDOCS=yes
  .endif
  
  post-patch:
 
 
Responsible-Changed-From-To: freebsd-ports-bugs->stefan 
Responsible-Changed-By: stefan 
Responsible-Changed-When: Sat Nov 18 17:20:54 UTC 2006 
Responsible-Changed-Why:  
Take. 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105498 
State-Changed-From-To: feedback->closed 
State-Changed-By: stefan 
State-Changed-When: Sat Nov 18 19:21:22 UTC 2006 
State-Changed-Why:  
Fix committed, thanks! 

http://www.freebsd.org/cgi/query-pr.cgi?pr=105498 

From: dfilter@FreeBSD.ORG (dfilter service)
To: bug-followup@FreeBSD.org
Cc:  
Subject: Re: ports/105498: commit references a PR
Date: Sat, 18 Nov 2006 19:24:22 +0000 (UTC)

 stefan      2006-11-18 19:20:38 UTC
 
   FreeBSD ports repository
 
   Modified files:
     devel/ice            Makefile 
   Log:
   Fix port for cases in which NOPORTDOCS is defined.
   
   PR:             105498
   Submitted by:   Mark Andrews <Mark_Andrews@isc.org>
   Patch by:       maintainer
   
   Revision  Changes    Path
   1.10      +1 -1      ports/devel/ice/Makefile
 _______________________________________________
 cvs-all@freebsd.org mailing list
 http://lists.freebsd.org/mailman/listinfo/cvs-all
 To unsubscribe, send any mail to "cvs-all-unsubscribe@freebsd.org"
 
>Unformatted:
