Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 12 Nov 2001 21:00:03 -0800 (PST)
From:      Garance A Drosihn <drosih@rpi.edu>
To:        freebsd-ports@FreeBSD.org
Subject:   Re: ports/31862: [PATCH] 'make search' problem if /usr/obj/usr/ports/* exist
Message-ID:  <200111130500.fAD503X48774@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help
The following reply was made to PR ports/31862; it has been noted by GNATS.

From: Garance A Drosihn <drosih@rpi.edu>
To: freebsd-gnats-submit@FreeBSD.org
Cc: gad@FreeBSD.org, portmgr@FreeBSD.org
Subject: Re: ports/31862: [PATCH] 'make search' problem if
 /usr/obj/usr/ports/* exist
Date: Mon, 12 Nov 2001 23:56:05 -0500

 Here's a better patch to fix the problem with 'make search', as
 described in the PR.  It still amazes me that no one had run
 into this before.  This is to /usr/ports/Mk/bsd.port.subdir.mk
 
 --- Mk/bsd.port.subdir.mk.orig	Thu Jun 28 23:39:54 2001
 +++ Mk/bsd.port.subdir.mk	Mon Nov 12 22:25:59 2001
 @@ -248,7 +248,7 @@
 
 
   search: ${PORTSDIR}/INDEX
 -	@here=`pwd`; \
 +	@here="${.CURDIR}"; \
   	cd ${PORTSDIR}; \
   	top=`pwd`; \
   	there=`echo "$$here/" | sed s%$$top%${PORTSDIR}%`; \
 
 In limited testing, this also seems to fix the problem which was
 described in PR 18455:
 
      http://www.FreeBSD.org/cgi/query-pr.cgi?pr=ports/18455
 
 (and the patch in that PR isn't quite right for what it is
 trying to fix, either).
 
 If no one objects to this change, I'll take ownership of both PR's,
 apply the massive 1-line update, and see what happens.
 
 -- 
 Garance Alistair Drosehn            =   gad@eclipse.acs.rpi.edu
 Senior Systems Programmer           or  gad@freebsd.org
 Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200111130500.fAD503X48774>