Date: Wed, 10 Mar 1999 19:47:08 +0100 From: "Jose M. Alcaide" <jose@we.lc.ehu.es> To: freebsd-ports@FreeBSD.ORG Subject: fetch's new "-A" option should not be used under 3.1-RELEASE Message-ID: <36E6BE2C.F69EDBA4@we.lc.ehu.es>
next in thread | raw e-mail | index | archive | help
I was starting to build the x11-toolkits/gtk12 port when it crashed showing the following error messages: >> gtk+-1.2.0.tar.gz doesn't seem to exist on this system. >> Attempting to fetch from ftp://ftp.uk.freebsd.org/pub/FreeBSD/ports/distfiles/. fetch: illegal option -- A fetch [-DHILMNPRTVablmnpqrstv] [-o outputfile] [-S bytes] [-f file -h host [-c dir] | URL] I am running 3.1-RELEASE, but I update the ports tree every night. I examined /usr/ports/Mk/bsd.port.mk and I found these lines: .if ${OSVERSION} < 300000 FETCH_CMD?= /usr/bin/fetch .else FETCH_CMD?= /usr/bin/fetch -A .endif The "-A" option is used if OSVERSION is >= 300000. However, OSVERSION is 310000 for 3.1-RELEASE and, unfortunately, the 3.1R's fetch does not support the "-A" flag. This causes the error when trying to download the port tarball. This problem could be easily fixed, modifying slightly those lines in bsd.port.mk. -- JMA ----------------------------------------------------------------------- José Mª Alcaide | mailto:jose@we.lc.ehu.es Universidad del País Vasco | mailto:jmas@es.FreeBSD.ORG Dpto. de Electricidad y Electrónica | http://www.we.lc.ehu.es/~jose Facultad de Ciencias - Campus de Lejona | Tel.: +34-946012479 48940 Lejona (Vizcaya) - SPAIN | Fax: +34-944858139 ----------------------------------------------------------------------- "Go ahead... make my day." - H. Callahan 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?36E6BE2C.F69EDBA4>