Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 09 May 2004 00:53:34 +0200
From:      Andreas Kohn <andreas.kohn@gmx.net>
To:        Kai Grossjohann <kai@emptydomain.de>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Built-in lpr vs CUPS
Message-ID:  <1084056814.75713.11.camel@klamath.syndrom23.de>
In-Reply-To: <871xlu3lk5.fsf@emptyhost.emptydomain.de>
References:  <871xlu3lk5.fsf@emptyhost.emptydomain.de>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1084056814.75713.11.camel>