From owner-freebsd-questions@FreeBSD.ORG Sat May 8 15:53:42 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E3F8816A4CE for ; Sat, 8 May 2004 15:53:42 -0700 (PDT) Received: from mail.gmx.net (pop.gmx.net [213.165.64.20]) by mx1.FreeBSD.org (Postfix) with SMTP id EA22243D31 for ; Sat, 8 May 2004 15:53:41 -0700 (PDT) (envelope-from andreas.kohn@gmx.net) Received: (qmail 31074 invoked by uid 65534); 8 May 2004 22:53:40 -0000 Received: from unknown (EHLO [212.204.44.203]) (212.204.44.203) by mail.gmx.net (mp008) with SMTP; 09 May 2004 00:53:40 +0200 X-Authenticated: #2431876 From: Andreas Kohn To: Kai Grossjohann In-Reply-To: <871xlu3lk5.fsf@emptyhost.emptydomain.de> References: <871xlu3lk5.fsf@emptyhost.emptydomain.de> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-pcXE2JwMUj0tO5JkNT7x" Message-Id: <1084056814.75713.11.camel@klamath.syndrom23.de> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.6 Date: Sun, 09 May 2004 00:53:34 +0200 cc: freebsd-questions@freebsd.org Subject: Re: Built-in lpr vs CUPS X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 08 May 2004 22:53:43 -0000 --=-pcXE2JwMUj0tO5JkNT7x Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sat, 2004-05-08 at 18:55, Kai Grossjohann wrote: > The default setup is to include /usr/bin before /usr/local/bin in > $PATH. This means that entering "lpr -Pfoo" doesn't work for printing > on my machine, I have to say "/usr/local/bin/lpr -Pfoo". >=20 > It is obvious that I could change $PATH to mention /usr/local/bin > before /usr/bin, but is that the right solution? Surely there is a > reason for /etc/login.conf to mention /usr/bin first. >=20 > Any thoughts are very much appreciated. Hi, from /usr/ports/print/cups-lpr/Makefile: .ifndef CUPS_OVERWRITE_BASE @${ECHO_MSG} "***" @${ECHO_MSG} "You can define CUPS_OVERWRITE_BASE=3Dyes in your" @${ECHO_MSG} "make.conf to remove base system lpr tools from" @${ECHO_MSG} "PATH search. In this case it is recommended to" @${ECHO_MSG} "also define NO_LPR=3Dyes, to not write base lpr" @${ECHO_MSG} "binaries during next make world" @${ECHO_MSG} "***" That could be a solution to your problem (If I understood it correctly, that is) HTH, Andreas --=-pcXE2JwMUj0tO5JkNT7x Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD4DBQBAnWTuYucd7Ow1ygwRAh/tAJ9mjJo2wbPb1ROmV8esDMGam229mgCYr5gJ YR0Oy75JefaOlBTotIfx7Q== =c2j/ -----END PGP SIGNATURE----- --=-pcXE2JwMUj0tO5JkNT7x--