From owner-freebsd-ports Tue Apr 2 5: 8:58 2002 Delivered-To: freebsd-ports@freebsd.org Received: from white.imgsrc.co.jp (ns.imgsrc.co.jp [210.226.20.2]) by hub.freebsd.org (Postfix) with ESMTP id 5287637B41B for ; Tue, 2 Apr 2002 05:08:54 -0800 (PST) Received: from black.imgsrc.co.jp (black.imgsrc.co.jp [2001:218:422:2::130]) by white.imgsrc.co.jp (Postfix) with ESMTP id 8D18F24D29; Tue, 2 Apr 2002 22:08:53 +0900 (JST) Received: from waterblue.imgsrc.co.jp (waterblue.imgsrc.co.jp [2001:218:422:2::160]) by black.imgsrc.co.jp (Postfix) with ESMTP id C54571E46F4; Tue, 2 Apr 2002 22:08:50 +0900 (JST) Date: Tue, 02 Apr 2002 22:08:22 +0900 Message-ID: <7mbsd2b649.wl@waterblue.imgsrc.co.jp> From: Jun Kuriyama To: Ports Team Subject: Problem in $MLINKS? User-Agent: Wanderlust/2.9.7 (Unchained Melody) SEMI/1.14.3 (Ushinoya) FLIM/1.14.3 (=?ISO-8859-4?Q?Unebigory=F2mae?=) APEL/10.3 Emacs/21.1 (i386--freebsd) MULE/5.0 (=?ISO-2022-JP?B?GyRCOC1MWhsoQg==?=) MIME-Version: 1.0 (generated by SEMI 1.14.3 - "Ushinoya") Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org I'm checking a PR ports/36137 but files defined in $MLINKS is not appeared in generated PLIST. With below makefile, "make -f test.mk" produces the output as "*}". ----- test.mk A= a b c d B= a all: @echo ${A:M${B}*} ----- But around line 3304 in bsd.port.mk, "a" is expected as the output of above test. ----- bsd.port.mk .if ${_TMLINKS:M${_PREFIX}*}x != x @for i in ${_TMLINKS:M${_PREFIX}*:S,^${_PREFIX}/,,}; do \ ${ECHO} "$$i" >> ${TMPPLIST}; \ done .endif .if ${_TMLINKS:N${_PREFIX}*}x != x @${ECHO} @cwd / >> ${TMPPLIST} @for i in ${_TMLINKS:N${_PREFIX}*:S,^/,,}; do \ ${ECHO} "$$i" >> ${TMPPLIST}; \ done @${ECHO} '@cwd ${PREFIX}' >> ${TMPPLIST} .endif ----- I cannot beleive this feature was broken from 1998, so I think this is something my fault. Can someone explain the correctness (or my misunderstanding) of above test? -- Jun Kuriyama // IMG SRC, Inc. // FreeBSD Project To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message