diff options
author | jym <jym@pkgsrc.org> | 2011-07-04 23:08:22 +0000 |
---|---|---|
committer | jym <jym@pkgsrc.org> | 2011-07-04 23:08:22 +0000 |
commit | 6894e7f2d5efe27fb841011f512f12ef59e0020c (patch) | |
tree | 2bfb6a532a4bdb5e0a2e7dac2b240c307fe691c2 /textproc | |
parent | 57a9160c03e65e51811a42c6dbd0eb73d0e83ccd (diff) | |
download | pkgsrc-6894e7f2d5efe27fb841011f512f12ef59e0020c.tar.gz |
check-interpreter fix. Add patch-aa for dblatex interpreter fix, see
comment in file.
Diffstat (limited to 'textproc')
-rw-r--r-- | textproc/dblatex/Makefile | 11 | ||||
-rw-r--r-- | textproc/dblatex/distinfo | 3 | ||||
-rw-r--r-- | textproc/dblatex/patches/patch-aa | 12 |
3 files changed, 18 insertions, 8 deletions
diff --git a/textproc/dblatex/Makefile b/textproc/dblatex/Makefile index 4a8fddb33b9..5ca8eb12f11 100644 --- a/textproc/dblatex/Makefile +++ b/textproc/dblatex/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.7 2010/08/24 01:45:10 gls Exp $ +# $NetBSD: Makefile,v 1.8 2011/07/04 23:08:22 jym Exp $ # DISTNAME= dblatex-0.3 @@ -21,6 +21,8 @@ DEPENDS+= tex-ifxetex-[0-9]*:../../print/tex-ifxetex PYDISTUTILSPKG= yes USE_LANGUAGES= # none +REPLACE_PYTHON+= lib/dbtexmf/dblatex/xetex/*.py + SUBST_CLASSES+= man SUBST_MESSAGE.man= Fixing man page installation path. SUBST_STAGE.man= pre-configure @@ -28,11 +30,6 @@ SUBST_FILES.man= setup.py SUBST_SED.man+= -e 's,share/man/man1,${PKGMANDIR}/man1,' SUBST_SED.man+= -e "s,'python','${PYTHONBIN}'," -#SUBST_CLASSES+= path -#SUBST_MESSAGE.path= Fixing python path. -#SUBST_STAGE.path= pre-configure -#SUBST_FILES.path= scripts/dblatex -#SUBST_SED.path= -e 's,/usr/bin/env python,${PYTHONBIN},g' - +.include "../../lang/python/application.mk" .include "../../lang/python/extension.mk" .include "../../mk/bsd.pkg.mk" diff --git a/textproc/dblatex/distinfo b/textproc/dblatex/distinfo index 9237aa658b9..c1b12889169 100644 --- a/textproc/dblatex/distinfo +++ b/textproc/dblatex/distinfo @@ -1,5 +1,6 @@ -$NetBSD: distinfo,v 1.4 2010/08/24 01:45:10 gls Exp $ +$NetBSD: distinfo,v 1.5 2011/07/04 23:08:22 jym Exp $ SHA1 (dblatex-0.3.tar.bz2) = 60a853354de23a44c2f32bca812909e3a5dd76ba RMD160 (dblatex-0.3.tar.bz2) = 987090d2282b8ff802f6e806f788d9fdc42187e2 Size (dblatex-0.3.tar.bz2) = 1129409 bytes +SHA1 (patch-aa) = 7bccdbd86f24a91ad481967f215c60f5349c32a7 diff --git a/textproc/dblatex/patches/patch-aa b/textproc/dblatex/patches/patch-aa new file mode 100644 index 00000000000..09d892bbe89 --- /dev/null +++ b/textproc/dblatex/patches/patch-aa @@ -0,0 +1,12 @@ +$NetBSD: patch-aa,v 1.1 2011/07/04 23:08:22 jym Exp $ +Clear path to env(1). setup.py will then use python absolute path directly. +--- setup.py.orig 2011-07-04 22:30:30.000000000 +0000 ++++ setup.py +@@ -130,6 +130,7 @@ os.environ["SGML_CATALOG_FILES"] = cat + else: + style_set = "" + ++ env_exec = '' + script_args = { 'env_executable': env_exec, + 'env_args': env_exec and (' %s' % env_args) or '', + 'py_executable': py_exec, |