From darius@holly.dons.net.au  Mon Feb 23 20:15:20 1998
Received: from holly.dons.net.au (daniel.lnk.telstra.net [139.130.137.70])
          by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA01816
          for <FreeBSD-gnats-submit@freebsd.org>; Mon, 23 Feb 1998 20:15:17 -0800 (PST)
          (envelope-from darius@holly.dons.net.au)
Received: (from darius@localhost)
	by holly.dons.net.au (8.8.8/8.8.5) id OAA01388;
	Tue, 24 Feb 1998 14:47:44 +1030 (CST)
Message-Id: <199802240417.OAA01388@holly.dons.net.au>
Date: Tue, 24 Feb 1998 14:47:44 +1030 (CST)
From: "Daniel J. O'Connor" <darius@holly.dons.net.au>
Reply-To: darius@holly.dons.net.au
To: FreeBSD-gnats-submit@freebsd.org
Subject: catdoc is broken (easy fix)
X-Send-Pr-Version: 3.2

>Number:         5832
>Category:       ports
>Synopsis:       textproc/catdoc Makefile is broken
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports
>State:          closed
>Quarter:        
>Keywords:       
>Date-Required:  
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Mon Feb 23 20:20:02 PST 1998
>Closed-Date:    Mon Mar 16 13:17:25 PST 1998
>Last-Modified:  Mon Mar 16 13:18:20 PST 1998
>Originator:     Daniel J. O'Connor
>Release:        FreeBSD 3.0-CURRENT i386
>Organization:
>Environment:



>Description:
 
The textproc/catdoc port Makefile doesn't set WRKSRC, and since the 
tar ball was grabbed on the fly, it has a long path in it. (ie 
pub/tex/ctan/support/catdoc) 
 
>How-To-Repeat:
cd /usr/ports/textproc/catdoc 
make 
 
>Fix:
 
Add the following line to the Makefile 
 
    WRKSRC=         ${WRKDIR}/pub/tex/ctan/support/catdoc 

>Release-Note:
>Audit-Trail:

From: Bill Fenner <fenner@parc.xerox.com>
To: darius@holly.dons.net.au
Cc: FreeBSD-gnats-submit@freebsd.org
Subject: Re: ports/5832: catdoc is broken (easy fix) 
Date: Mon, 23 Feb 1998 22:41:32 PST

 This is an old vs. new fetch issue; new fetch fetches a file with just
 "catdoc/".  Perhaps the makefile needs a post-extract target:
 
 post-extract:
 	@if [ -d ${WRKDIR}/pub/tex/ctan/support/catdoc ]; then \
 		mv ${WRKDIR}/pub/tex/ctan/support/catdoc ${WRKDIR}; \
 		rm -rf ${WRKDIR}/pub; \
 	 fi
 
   Bill
State-Changed-From-To: open->closed 
State-Changed-By: hoek 
State-Changed-When: Mon Mar 16 13:17:25 PST 1998 
State-Changed-Why:  
Fixed, thanks! 
>Unformatted:
