Asymptote should install TeX macros into TEXMFLOCAL not TEXMFMAIN.

OK naddy@
This commit is contained in:
edd 2014-01-20 17:04:36 +00:00
parent 87a0f92b98
commit 01643e78aa
3 changed files with 19 additions and 27 deletions

View File

@ -1,10 +1,11 @@
# $OpenBSD: Makefile,v 1.15 2013/12/19 18:13:48 shadchin Exp $
# $OpenBSD: Makefile,v 1.16 2014/01/20 17:04:36 edd Exp $
COMMENT= powerful descriptive vector graphics language
DISTNAME= asymptote-2.24.src
PKGNAME= asymptote-2.24
CATEGORIES= graphics
REVISION = 0
HOMEPAGE= http://asymptote.sourceforge.net/
@ -42,7 +43,9 @@ CONFIGURE_STYLE= gnu
CONFIGURE_ARGS+= --enable-gc=${LOCALBASE} \
--enable-fftw \
--enable-gl \
--enable-gsl
--enable-gsl \
--with-latex=${LOCALBASE}/share/texmf-local/tex/latex \
--with-context=${LOCALBASE}/share/texmf-local/tex/context/third
CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include -I${X11BASE}/include" \
LDFLAGS="-L${X11BASE}/lib -L${LOCALBASE}/lib" \
ac_cv_prog_kpsewhich="${LOCALBASE}/bin/kpsewhich"

View File

@ -1,14 +0,0 @@
$OpenBSD: patch-configure,v 1.3 2013/12/19 18:13:48 shadchin Exp $
Remove $latexdir here, so it's possible to set it with kpsewhich(1), as intended.
--- configure.orig Mon May 20 14:14:35 2013
+++ configure Fri Jun 7 23:06:56 2013
@@ -3992,7 +3992,6 @@ $as_echo "$ac_res" >&6; }
if eval test \"x\$"$as_ac_File"\" = x"yes"; then :
else
- latexdir=/usr/share/texmf/tex/latex
as_ac_File=`$as_echo "ac_cv_file_$latexdir/base/latex.ltx" | $as_tr_sh`
{ $as_echo "$as_me:${as_lineno-$LINENO}: checking for $latexdir/base/latex.ltx" >&5
$as_echo_n "checking for $latexdir/base/latex.ltx... " >&6; }

View File

@ -1,10 +1,10 @@
@comment $OpenBSD: PLIST,v 1.4 2013/12/19 18:13:48 shadchin Exp $
@comment $OpenBSD: PLIST,v 1.5 2014/01/20 17:04:36 edd Exp $
@bin bin/asy
bin/xasy
@info info/asy-faq.info
@info info/asymptote.info
@man man/man1/asy.1
@man man/man1/xasy.1
bin/xasy
share/asymptote/
share/asymptote/CAD.asy
share/asymptote/GUI/
@ -441,14 +441,17 @@ share/examples/asymptote/xxsq01.asy
share/examples/asymptote/xxsq01x-1.asy
share/examples/asymptote/xxsq01y.asy
share/examples/asymptote/yingyang.asy
share/texmf/tex/context/
share/texmf/tex/context/third/
share/texmf/tex/context/third/asymptote/
share/texmf/tex/context/third/asymptote/colo-asy.tex
share/texmf/tex/latex/asymptote/
share/texmf/tex/latex/asymptote/asycolors.sty
share/texmf/tex/latex/asymptote/asymptote.sty
share/texmf/tex/latex/asymptote/latexmkrc
share/texmf/tex/latex/asymptote/ocg.sty
share/texmf-local/
share/texmf-local/tex/
share/texmf-local/tex/context/
share/texmf-local/tex/context/third/
share/texmf-local/tex/context/third/asymptote/
share/texmf-local/tex/context/third/asymptote/colo-asy.tex
share/texmf-local/tex/latex/
share/texmf-local/tex/latex/asymptote/
share/texmf-local/tex/latex/asymptote/asycolors.sty
share/texmf-local/tex/latex/asymptote/asymptote.sty
share/texmf-local/tex/latex/asymptote/latexmkrc
share/texmf-local/tex/latex/asymptote/ocg.sty
@exec mktexlsr > /dev/null 2>&1
@unexec-delete mktexlsr > /dev/null 2>&1