From owner-freebsd-ports-bugs@FreeBSD.ORG Sat May 31 19:10:01 2008 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8C90D1065674 for ; Sat, 31 May 2008 19:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 500B88FC1F for ; Sat, 31 May 2008 19:10:01 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.2/8.14.2) with ESMTP id m4VJA14b030647 for ; Sat, 31 May 2008 19:10:01 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.2/8.14.1/Submit) id m4VJA1DT030646; Sat, 31 May 2008 19:10:01 GMT (envelope-from gnats) Resent-Date: Sat, 31 May 2008 19:10:01 GMT Resent-Message-Id: <200805311910.m4VJA1DT030646@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-ports-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Max Brazhnikov Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 01B4B1065674 for ; Sat, 31 May 2008 19:07:59 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (www.freebsd.org [IPv6:2001:4f8:fff6::21]) by mx1.freebsd.org (Postfix) with ESMTP id CBBA18FC17 for ; Sat, 31 May 2008 19:07:58 +0000 (UTC) (envelope-from nobody@FreeBSD.org) Received: from www.freebsd.org (localhost [127.0.0.1]) by www.freebsd.org (8.14.2/8.14.2) with ESMTP id m4VJ6D8m091914 for ; Sat, 31 May 2008 19:06:13 GMT (envelope-from nobody@www.freebsd.org) Received: (from nobody@localhost) by www.freebsd.org (8.14.2/8.14.1/Submit) id m4VJ6DWY091913; Sat, 31 May 2008 19:06:13 GMT (envelope-from nobody) Message-Id: <200805311906.m4VJ6DWY091913@www.freebsd.org> Date: Sat, 31 May 2008 19:06:13 GMT From: Max Brazhnikov To: freebsd-gnats-submit@FreeBSD.org X-Send-Pr-Version: www-3.1 Cc: Subject: ports/124169: use ${PATCH_WRKSRC} for makepatch target X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2008 19:10:01 -0000 >Number: 124169 >Category: ports >Synopsis: use ${PATCH_WRKSRC} for makepatch target >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: update >Submitter-Id: current-users >Arrival-Date: Sat May 31 19:10:01 UTC 2008 >Closed-Date: >Last-Modified: >Originator: Max Brazhnikov >Release: FreeBSD 7.0-STABLE i386 >Organization: >Environment: FreeBSD luna.dio.ru 7.0-STABLE FreeBSD 7.0-STABLE #0: Thu Apr 17 12:14:46 MSD 2008 makc@luna.dio.ru:/usr/obj/usr/src/sys/LUNA i386 >Description: do-patch target uses ${PATCH_WRKSRC} (default value is ${WRKSRC}). It make sense to use ${PATCH_WRKSRC} in makepatch target also. >How-To-Repeat: >Fix: Patch attached with submission follows: --- bsd.port.mk.orig 2008-05-28 02:12:02.000000000 +0400 +++ bsd.port.mk 2008-05-31 22:56:22.000000000 +0400 @@ -1123,13 +1123,13 @@ .else -# Look for ${WRKSRC}/.../*.orig files, and (re-)create +# Look for ${PATCH_WRKSRC}/.../*.orig files, and (re-)create # ${FILEDIR}/patch-* files from them. .if !target(makepatch) makepatch: @cd ${.CURDIR} && ${MKDIR} ${FILESDIR} - @(cd ${WRKSRC}; \ + @(cd ${PATCH_WRKSRC}; \ for i in `find . -type f -name '*.orig'`; do \ ORG=$$i; \ NEW=$${i%.orig}; \ >Release-Note: >Audit-Trail: >Unformatted: