Date: Fri, 6 Sep 1996 10:19:06 +0200 (MET DST) From: jhs@freebsd.org To: FreeBSD-gnats-submit@freebsd.org Subject: ports/1576: patch for ports/print/mltex/Makefile FETCH_CMD Message-ID: <199609060819.KAA16730@vector.jhs.no_domain> Resent-Message-ID: <199609060830.BAA05715@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 1576 >Category: ports >Synopsis: patch for ports/print/mltex/Makefile FETCH_CMD >Confidential: yes >Severity: non-critical >Priority: low >Responsible: freebsd-bugs >State: open >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Fri Sep 6 01:30:03 PDT 1996 >Last-Modified: >Originator: Julian Stacey jhs@freebsd.org >Organization: Julian Stacey --- Julian H. Stacey jhs@freebsd.org http://www.freebsd.org/~jhs/ >Release: FreeBSD 2.2-CURRENT i386 >Environment: FETCH_CMD=ncftp >Description: If a user has FETCH_CMD set in his environment, (I use ncftp to keep an eye on distfile ftp progress, though jmz informs: fetch also has a progress indicator (very primitive) ) FETCH_CMD with ncftp will work for most ports, but fails on this port >How-To-Repeat: setenv FETCH_CMD ncftp; cd /usr/ports/print/mltex ; make fetch >Fix: I enclose a patch. *** ports/print/mltex/Makefile.old Fri Sep 6 09:31:56 1996 --- ports/print/mltex/Makefile Fri Sep 6 09:47:31 1996 *************** *** 34,39 **** --- 34,51 ---- CFLAGS+= -L${X11BASE}/lib + FETCH_CMD = fetch + # Force over-ride of any user environment FETCH_CMD=ncftp + # To avoid: ncftp: illegal option -- h + # Jean-Marc Zucconi <jmz@cabri.obs-besancon.fr>: + # I wrote fetch because it was not possible tu use ncftp with some of + # the ports/print files :-) + # The problem arise when the server runs wu-ftpd and when you fetch a + # directory, adding .tar.gz to the name of the directory. Ncftp can't + # do that cleanly (try it!), and we need to: + # 1- login + # 2- change the directory (the -c flag of fetch) + # 3- get the directory (.tar.gz). web2c-6.1.tar.gz: @${FETCH_CMD} -h ${CTAN} -c /tex-archive/systems/web2c -f web2c-6.1.tar.gz -o ${DISTDIR}/$@ >Audit-Trail: >Unformatted: No
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199609060819.KAA16730>