On Mon, Aug 06, 2012 at 03:49:52PM +0200, Luís Rosa wrote: > Hi List, > > There is a bug in the minted package used in the ports because a > bad argument of which command. > Discussed here: http://code.google.com/p/minted/issues/detail?id=19&can=1 > The bug is already fixed in more recent versions.
Thanks for reporting. Below is a patch for our port. OK someone@? Index: base/Makefile =================================================================== RCS file: /cvs/ports/print/texlive/base/Makefile,v retrieving revision 1.59 diff -u -p -r1.59 Makefile --- base/Makefile 6 Aug 2012 11:14:39 -0000 1.59 +++ base/Makefile 7 Aug 2012 12:37:46 -0000 @@ -4,7 +4,7 @@ COMMENT = base binaries for TeXLive typ DISTNAME = texlive-${DIST_V}-source PKGNAME = texlive_base-${V} -REVISION = 5 +REVISION = 6 SHARED_LIBS = kpathsea 4.0 SHARED_LIBS += ptexenc 1.0 Index: base/pkg/README =================================================================== RCS file: /cvs/ports/print/texlive/base/pkg/README,v retrieving revision 1.7 diff -u -p -r1.7 README --- base/pkg/README 10 Jan 2012 18:04:31 -0000 1.7 +++ base/pkg/README 7 Aug 2012 12:37:46 -0000 @@ -85,6 +85,7 @@ As far as I know: * asymptote is in ports: graphics/asymptote * TeX Works is editors/texworks * latex-mk is print/latex-mk + * textproc/py-pygments is required for the minted package. If you know more, please mail the package maintainer: <e...@openbsd.org> Index: texmf/Makefile =================================================================== RCS file: /cvs/ports/print/texlive/texmf/Makefile,v retrieving revision 1.29 diff -u -p -r1.29 Makefile --- texmf/Makefile 17 Mar 2012 21:25:37 -0000 1.29 +++ texmf/Makefile 7 Aug 2012 12:37:46 -0000 @@ -17,7 +17,7 @@ PKGNAME-docs = texlive_texmf-docs-${V} PKGNAME-context = texlive_texmf-context-${V} REVISION-docs = 2 -REVISION-full = 0 +REVISION-full = 1 REVISION-main = 4 REVISION-context = 1 Index: texmf/patches/patch-texmf-dist_tex_latex_minted_minted_sty =================================================================== RCS file: texmf/patches/patch-texmf-dist_tex_latex_minted_minted_sty diff -N texmf/patches/patch-texmf-dist_tex_latex_minted_minted_sty --- /dev/null 1 Jan 1970 00:00:00 -0000 +++ texmf/patches/patch-texmf-dist_tex_latex_minted_minted_sty 7 Aug 2012 12:37:46 -0000 @@ -0,0 +1,15 @@ +$OpenBSD$ + +Bad 'which' argument fix. + +--- texmf-dist/tex/latex/minted/minted.sty.origy Tue Aug 7 10:10:45 2012 ++++ texmf-dist/tex/latex/minted/minted.sty Tue Aug 7 10:10:52 2012 +@@ -57,7 +57,7 @@ + \DeleteFile{\jobname.aex} + \immediate\typeout{file deleted} + \else +- \immediate\write18{which -s #1 && touch \jobname.aex} ++ \immediate\write18{which -a #1 && touch \jobname.aex} + \IfFileExists{\jobname.aex} + {\AppExiststrue + \DeleteFile{\jobname.aex}} -- Best Regards Edd Barrett http://www.theunixzoo.co.uk