USE_TEX question

2013-05-09 Thread Stephen Montgomery-Smith

So I have a port, math/sage, which now contains in Makefile the line
USE_TEX=tetex

I have intalled the texlive ports.  So now if I try to install 
math/sage, it gives me error messages about CONFLICTS, which I think 
arise from the fact that math/sage thinks that it has to first install 
tetex, and this conflict with various texlive ports.


But, math/sage is TEX agnostic.  It doesn't care whether it is tetex or 
texlive that is installed.  All it really wants to know is if there is a 
useable latex in PATH.


It would be nice if there was a USE_TEX=yes option, or something like 
that, which I could put into the math/sage port.


Stephen
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: USE_TEX question

2013-05-09 Thread Chris Rees
On 9 May 2013 18:36, Stephen Montgomery-Smith step...@missouri.edu wrote:
 So I have a port, math/sage, which now contains in Makefile the line
 USE_TEX=tetex

 I have intalled the texlive ports.  So now if I try to install math/sage, it
 gives me error messages about CONFLICTS, which I think arise from the fact
 that math/sage thinks that it has to first install tetex, and this conflict
 with various texlive ports.

 But, math/sage is TEX agnostic.  It doesn't care whether it is tetex or
 texlive that is installed.  All it really wants to know is if there is a
 useable latex in PATH.

 It would be nice if there was a USE_TEX=yes option, or something like that,
 which I could put into the math/sage port.

USE_TEX=${TEX_DEFAULT} should work fine-- have you tried that?

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: USE_TEX question

2013-05-09 Thread Stephen Montgomery-Smith

On 05/09/13 13:15, Chris Rees wrote:

On 9 May 2013 18:36, Stephen Montgomery-Smith step...@missouri.edu wrote:

So I have a port, math/sage, which now contains in Makefile the line
USE_TEX=tetex

I have intalled the texlive ports.  So now if I try to install math/sage, it
gives me error messages about CONFLICTS, which I think arise from the fact
that math/sage thinks that it has to first install tetex, and this conflict
with various texlive ports.

But, math/sage is TEX agnostic.  It doesn't care whether it is tetex or
texlive that is installed.  All it really wants to know is if there is a
useable latex in PATH.

It would be nice if there was a USE_TEX=yes option, or something like that,
which I could put into the math/sage port.


USE_TEX=${TEX_DEFAULT} should work fine-- have you tried that?

Chris


Ah, yes.  And you have to set TEX_DEFAULT in /etc/make.conf as well.

___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org


Re: USE_TEX question

2013-05-09 Thread Hiroki Sato
Stephen Montgomery-Smith step...@missouri.edu wrote
  in 518bde81.3060...@missouri.edu:

st So I have a port, math/sage, which now contains in Makefile the line
st USE_TEX=tetex
st
st I have intalled the texlive ports.  So now if I try to install
st math/sage, it gives me error messages about CONFLICTS, which I think
st arise from the fact that math/sage thinks that it has to first install
st tetex, and this conflict with various texlive ports.
st
st But, math/sage is TEX agnostic.  It doesn't care whether it is tetex
st or texlive that is installed.  All it really wants to know is if there
st is a useable latex in PATH.
st
st It would be nice if there was a USE_TEX=yes option, or something like
st that, which I could put into the math/sage port.

 It is possible after r317744, but please wait until problem reports
 about the TeXLive ports are quieted down first.

-- Hiroki


pgpXYWWKgUt0X.pgp
Description: PGP signature


Re: USE_TEX question

2013-05-09 Thread Chris Rees
On 9 May 2013 19:23, Stephen Montgomery-Smith step...@missouri.edu wrote:
 On 05/09/13 13:15, Chris Rees wrote:

 On 9 May 2013 18:36, Stephen Montgomery-Smith step...@missouri.edu
 wrote:

 So I have a port, math/sage, which now contains in Makefile the line
 USE_TEX=tetex

 I have intalled the texlive ports.  So now if I try to install math/sage,
 it
 gives me error messages about CONFLICTS, which I think arise from the
 fact
 that math/sage thinks that it has to first install tetex, and this
 conflict
 with various texlive ports.

 But, math/sage is TEX agnostic.  It doesn't care whether it is tetex or
 texlive that is installed.  All it really wants to know is if there is a
 useable latex in PATH.

 It would be nice if there was a USE_TEX=yes option, or something like
 that,
 which I could put into the math/sage port.


 USE_TEX=${TEX_DEFAULT} should work fine-- have you tried that?

 Chris


 Ah, yes.  And you have to set TEX_DEFAULT in /etc/make.conf as well.


No, you shouldn't.  Remember make evaluates lazily.

Chris
___
freebsd-ports@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-ports
To unsubscribe, send any mail to freebsd-ports-unsubscr...@freebsd.org