Date: Tue, 02 Apr 2002 22:08:22 +0900 From: Jun Kuriyama <kuriyama@imgsrc.co.jp> To: Ports Team <ports@FreeBSD.org> Subject: Problem in $MLINKS? Message-ID: <7mbsd2b649.wl@waterblue.imgsrc.co.jp>
next in thread | raw e-mail | index | archive | help
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 <kuriyama@imgsrc.co.jp> // IMG SRC, Inc. <kuriyama@FreeBSD.org> // FreeBSD Project 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?7mbsd2b649.wl>