From owner-freebsd-ports Tue Feb 13 03:50:48 1996 Return-Path: owner-ports Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id DAA02850 for ports-outgoing; Tue, 13 Feb 1996 03:50:48 -0800 (PST) Received: from time.cdrom.com (time.cdrom.com [192.216.222.226]) by freefall.freebsd.org (8.7.3/8.7.3) with SMTP id DAA02839 for ; Tue, 13 Feb 1996 03:50:44 -0800 (PST) Received: from localhost (localhost [127.0.0.1]) by time.cdrom.com (8.6.12/8.6.9) with SMTP id DAA15523; Tue, 13 Feb 1996 03:50:33 -0800 To: asami@cs.berkeley.edu (Satoshi Asami) cc: ports@freebsd.org Subject: Re: A tiny tale, told too often. In-reply-to: Your message of "Tue, 13 Feb 1996 03:16:03 PST." <199602131116.DAA02928@silvia.HIP.Berkeley.EDU> Date: Tue, 13 Feb 1996 03:50:33 -0800 Message-ID: <15521.824212233@time.cdrom.com> From: "Jordan K. Hubbard" Sender: owner-ports@freebsd.org Precedence: bulk > I don't know, you didn't tell me where the "obvious place" is. :> Don't worry, you found the two spots exactly - told you they were obvious! :-) > Anyway, the following seems to work for me.... ARGH! Why the %#W$^@%!! doesn't this work for me?! My version was a little different: --- /usr/src/share/mk/bsd.port.mk Fri Oct 6 00:20:35 1995 +++ /usr/share/mk/bsd.port.mk Tue Feb 13 03:45:15 1996 @@ -472,6 +472,11 @@ @(cd ${DISTDIR}; \ for file in ${DISTFILES}; do \ if [ ! -f $$file -a ! -f `/usr/bin/basename $$file` ]; then \ + if [ -h $$file -o -h `/usr/bin/basename $$file` ]; then \ + ${ECHO_MSG} ">> $$file is a broken symlink in ${DISTDIR}"; \ + ${ECHO_MSG} ">> Perhaps a filesystem (your CD?) isn't mounted."; \ + exit 1; \ + fi ; \ ${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \ for site in ${MASTER_SITES}; do \ ${ECHO_MSG} ">> Attempting to fetch from $${site}."; \ @@ -490,6 +495,11 @@ @(cd ${PATCHDIST}; \ for file in ${PATCHFILES}; do \ if [ ! -f $$file -a ! -f `/usr/bin/basename $$file` ]; then \ + if [ -h $$file -o -h `/usr/bin/basename $$file` ]; then \ + ${ECHO_MSG} ">> $$file is a broken symlink in ${PATCHDIST}"; \ + ${ECHO_MSG} ">> Perhaps a filesystem (your CD?) isn't mounted."; \ + exit 1; \ + fi ; \ ${ECHO_MSG} ">> $$file doesn't seem to exist on this system."; \ for site in ${PATCH_SITES}; do \ ${ECHO_MSG} ">> Attempting to fetch from $${site}."; \ But either way fails to work for me, as does your patch! Here's the symptoms, using your version (just so we're comparing apples and apples): root@time-> show 251 | patch -d /usr/share/mk Hmm... Looks like a unified diff to me... Patching file bsd.port.mk using Plan A... Hunk #1 succeeded at 472 (offset -16 lines). Hunk #2 succeeded at 496 (offset -16 lines). done root@time-> pwd /usr/ports/lang/tcl root@time-> make >> tcl7.3.tar.Z doesn't seem to exist on this system. >> Attempting to fetch from ftp://ftp.smli.com/pub/tcl/. ^C root@time-> ls -l /usr/ports/distfiles/tcl7.3.tar.Z lrwxrwxr-x 1 root wheel 35 Feb 10 19:54 /usr/ports/distfiles/tcl7.3.tar.Z -> /cdrom/ports/distfiles/tcl7.3.tar.Z ?!?!?!?!! Waaaah!!! Jordan