Re: /usr/bin/lpr and /usr/local/bin/lpr

2005-05-19 Thread Rob

--- Heinrich Rebehn <[EMAIL PROTECTED]> wrote:
> Rob wrote:
> > Remove the lp-related stuff from /usr/bin/ and
> > put
> >CUPS_OVERWRITE_BASE=yes
> 
> I could not find this one in the manpage. I assume
> that the binaries in /usr/bin will be overwritten?

See /usr/ports/print/cups-lpr/Makefile, lines 32-38:

  "You can define CUPS_OVERWRITE_BASE=yes in your"
  "make.conf to remove base system lpr tools from"
  "PATH search. In this case it is recommended to"
  "also define NO_LPR=yes, to not write base lpr"
  "binaries during next make world"

Rob.



__ 
Yahoo! Mail Mobile 
Take Yahoo! Mail with you! Check email on your mobile phone. 
http://mobile.yahoo.com/learn/mail 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /usr/bin/lpr and /usr/local/bin/lpr

2005-05-19 Thread Heinrich Rebehn
Rob wrote:
Heinrich Rebehn wrote:
Sorry if this is a FAQ, but i could not find an
answer in handbook, ml-archive or google:
I have three printing systems installed on my
FreeBSD-5.3 system:
- FreeBSD lpr
- LPRng
- cups-lpr
Or is there a way to keep "make world" from
installing certain binaries (which, in turn,
would have to be "cvs update"-resistent?)

'man make.conf' and search for NO_LPR.
Thanks. I missed that one. Contains a wealth of handy options.
Remove the lp-related stuff from /usr/bin/ and
put
   CUPS_OVERWRITE_BASE=yes
I could not find this one in the manpage. I assume that the binaries in 
/usr/bin will be overwritten?

   NO_LPR=yes
in make.conf, so that the next 'make world' does
not put them there anymore.
Rob.
Thanks,
Heinrich
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


Re: /usr/bin/lpr and /usr/local/bin/lpr

2005-05-19 Thread Rob
Heinrich Rebehn wrote:
> Sorry if this is a FAQ, but i could not find an
> answer in handbook, ml-archive or google:
> 
> I have three printing systems installed on my
> FreeBSD-5.3 system:
> - FreeBSD lpr
> - LPRng
> - cups-lpr
>
> Or is there a way to keep "make world" from
> installing certain binaries (which, in turn,
> would have to be "cvs update"-resistent?)

'man make.conf' and search for NO_LPR.

Remove the lp-related stuff from /usr/bin/ and
put
   CUPS_OVERWRITE_BASE=yes
   NO_LPR=yes

in make.conf, so that the next 'make world' does
not put them there anymore.

Rob.

__
Do You Yahoo!?
Tired of spam?  Yahoo! Mail has the best spam protection around 
http://mail.yahoo.com 
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"


/usr/bin/lpr and /usr/local/bin/lpr

2005-05-19 Thread Heinrich Rebehn
Sorry if this is a FAQ, but i could not find an answer in handbook, 
ml-archive or google:

I have three printing systems installed on my FreeBSD-5.3 system:
- FreeBSD lpr
- LPRng
- cups-lpr
The fact that LPRng and cups-lpr install the lpr binary in the same 
place is not the problem here. :-)

What can become annoying is that there are two lpr binaries in PATH:
/usr/bin/lpr and /usr/local/bin/lpr. Depending on your PATH you get one 
or the other.
Renaming /usr/bin/lpr to lpr.old only helps until the next "make world" 
creates a new /usr/bin/lpr.

Is there a solution that is independent of PATH and
"make world"-resistent? Maybe remove the old BSD lpr from the base 
system into a package that one may install or not?

Or is there a way to keep "make world" from installing certain binaries 
(which, in turn, would have to be "cvs update"-resistent?)

Thanks for any thoughts,
Heinrich
--
Heinrich Rebehn
University of Bremen
Physics / Electrical and Electronics Engineering
- Department of Telecommunications -
Phone : +49/421/218-4664
Fax   :-3341
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[EMAIL PROTECTED]"