From owner-freebsd-bugs Fri Sep 6 01:30:07 1996 Return-Path: owner-bugs Received: (from root@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA05722 for bugs-outgoing; Fri, 6 Sep 1996 01:30:07 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.7.5/8.7.3) id BAA05715; Fri, 6 Sep 1996 01:30:05 -0700 (PDT) Resent-Date: Fri, 6 Sep 1996 01:30:05 -0700 (PDT) Resent-Message-Id: <199609060830.BAA05715@freefall.freebsd.org> Resent-From: gnats (GNATS Management) Resent-To: freebsd-bugs Resent-Reply-To: FreeBSD-gnats@freefall.FreeBSD.org, jhs@freebsd.org Received: from vector.jhs.no_domain (slip139-92-42-182.ut.nl.ibm.net [139.92.42.182]) by freefall.freebsd.org (8.7.5/8.7.3) with ESMTP id BAA05517 for ; Fri, 6 Sep 1996 01:23:01 -0700 (PDT) Received: (from jhs@localhost) by vector.jhs.no_domain (8.7.5/8.6.9) id KAA16730; Fri, 6 Sep 1996 10:19:06 +0200 (MET DST) Message-Id: <199609060819.KAA16730@vector.jhs.no_domain> Date: Fri, 6 Sep 1996 10:19:06 +0200 (MET DST) From: jhs@freebsd.org Reply-To: jhs@freebsd.org To: FreeBSD-gnats-submit@freebsd.org X-Send-Pr-Version: 3.2 Subject: ports/1576: patch for ports/print/mltex/Makefile FETCH_CMD Sender: owner-bugs@freebsd.org X-Loop: FreeBSD.org Precedence: bulk >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 : + # 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