From owner-freebsd-ports-bugs@FreeBSD.ORG Sat Sep 6 09:00:35 2003 Return-Path: Delivered-To: freebsd-ports-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 2774516A4BF for ; Sat, 6 Sep 2003 09:00:35 -0700 (PDT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id AB49E44005 for ; Sat, 6 Sep 2003 09:00:33 -0700 (PDT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.9/8.12.9) with ESMTP id h86G0XUp075052 for ; Sat, 6 Sep 2003 09:00:33 -0700 (PDT) (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.9/8.12.9/Submit) id h86G0X2E075051; Sat, 6 Sep 2003 09:00:33 -0700 (PDT) Resent-Date: Sat, 6 Sep 2003 09:00:33 -0700 (PDT) Resent-Message-Id: <200309061600.h86G0X2E075051@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, Yen-Ming Lee Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id F267216A4BF for ; Sat, 6 Sep 2003 08:55:57 -0700 (PDT) Received: from utopia.leeym.com (utopia.leeym.com [61.218.64.93]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3BD0943FD7 for ; Sat, 6 Sep 2003 08:55:57 -0700 (PDT) (envelope-from leeym@utopia.leeym.com) Received: from localhost (localhost [127.0.0.1]) by utopia.leeym.com (Postfix) with ESMTP id 3B0373EADCA for ; Sat, 6 Sep 2003 23:55:55 +0800 (CST) Received: by utopia.leeym.com (Postfix, from userid 1000) id 48AB63EAAF0; Sat, 6 Sep 2003 15:26:34 +0800 (CST) Message-Id: <20030906072634.48AB63EAAF0@utopia.leeym.com> Date: Sat, 6 Sep 2003 15:26:34 +0800 (CST) From: Yen-Ming Lee To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: ports/56533: update Mk/bsd.port.mk X-BeenThere: freebsd-ports-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Yen-Ming Lee List-Id: Ports bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 06 Sep 2003 16:00:35 -0000 >Number: 56533 >Category: ports >Synopsis: update Mk/bsd.port.mk >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Sat Sep 06 09:00:33 PDT 2003 >Closed-Date: >Last-Modified: >Originator: Yen-Ming Lee >Release: FreeBSD 5.1-RELEASE-p2 i386 >Organization: >Environment: System: FreeBSD utopia.leeym.com 5.1-RELEASE-p2 FreeBSD 5.1-RELEASE-p2 #4: Sun Aug 24 06:56:03 CST 2003 root@utopia.leeym.com:/mnt/obj/usr/src/sys/UTOPIA i386 >Description: Use the character which will not appears in ${_PREFIX} to be the delimiter. Note: "testport" of porttools set /tmp/${DISTNAME} as ${PREFIX}, therefore "," could appears in ${_PREFIX} in generate-plist section: >How-To-Repeat: use testport on the port which DISTNAME has "," inside, such as amavis-0.1,1 >Fix: --- bsd.port.mk.diff begins here --- Index: bsd.port.mk =================================================================== RCS file: /home/pcvs/ports/Mk/bsd.port.mk,v retrieving revision 1.468 diff -u -r1.468 bsd.port.mk --- bsd.port.mk 3 Sep 2003 19:50:24 -0000 1.468 +++ bsd.port.mk 6 Sep 2003 07:14:30 -0000 @@ -4307,7 +4307,7 @@ done .for _PREFIX in ${PREFIX} .if ${_TMLINKS:M${_PREFIX}*}x != x - @for i in ${_TMLINKS:M${_PREFIX}*:S,^${_PREFIX}/,,:S,//,/,g}; do \ + @for i in ${_TMLINKS:M${_PREFIX}*:S|^${_PREFIX}/||:S,//,/,g}; do \ ${ECHO_CMD} "$$i" >> ${TMPPLIST}; \ done .endif @@ -4318,7 +4318,7 @@ done @${ECHO_CMD} '@cwd ${PREFIX}' >> ${TMPPLIST} .endif - @for i in $$(${ECHO} ${__MANPAGES} ${_TMLINKS:M${_PREFIX}*:S,^${_PREFIX}/,,:S,//,/,g} ' ' | ${SED} -E -e 's,man([1-9ln])/([^/ ]+) ,cat\1/\2 ,g'); do \ + @for i in $$(${ECHO} ${__MANPAGES} ${_TMLINKS:M${_PREFIX}*:S|^${_PREFIX}/||:S,//,/,g} ' ' | ${SED} -E -e 's,man([1-9ln])/([^/ ]+) ,cat\1/\2 ,g'); do \ ${ECHO} "@unexec rm -f %D/$${i%.gz} %D/$${i%.gz}.gz" >> ${TMPPLIST}; \ done .if ${XFREE86_HTML_MAN:L} == "yes" --- bsd.port.mk.diff ends here --- >Release-Note: >Audit-Trail: >Unformatted: