diff options
author | wiz <wiz@pkgsrc.org> | 2011-05-02 12:57:22 +0000 |
---|---|---|
committer | wiz <wiz@pkgsrc.org> | 2011-05-02 12:57:22 +0000 |
commit | 0753da317f39d9cfe0c0221a3432f14308749f8a (patch) | |
tree | 8d77e44bbce93d84fac07a3e495b9d72d30df587 /graphics/vigra | |
parent | 787f03ebefde457c3c653e5c4c0848611bc91774 (diff) | |
download | pkgsrc-0753da317f39d9cfe0c0221a3432f14308749f8a.tar.gz |
Avoid using /usr/bin/env. On the other hand, the script using python
is only needed by packages using vigra-config to find vigra, so don't
depend on python here -- let the packages using it pull it in themselves.
Bump PKGREVISION.
Diffstat (limited to 'graphics/vigra')
-rw-r--r-- | graphics/vigra/Makefile | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/graphics/vigra/Makefile b/graphics/vigra/Makefile index f1d56e27c46..724e2418e99 100644 --- a/graphics/vigra/Makefile +++ b/graphics/vigra/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.11 2011/02/28 14:52:50 wiz Exp $ +# $NetBSD: Makefile,v 1.12 2011/05/02 12:57:22 wiz Exp $ DISTNAME= vigra-1.7.1-src PKGNAME= ${DISTNAME:S/-src//} +PKGREVISION= 1 CATEGORIES= graphics MASTER_SITES= http://hci.iwr.uni-heidelberg.de/vigra/ @@ -21,6 +22,17 @@ USE_TOOLS+= pkg-config CMAKE_ARGS+= -D DOCINSTALL:PATH=${PREFIX}/share/doc +SUBST_CLASSES+= python +SUBST_STAGE.python= pre-configure +SUBST_FILES.python+= config/vigra-config.in +# Best we can do without pulling in a python dependency. +# Update when PYTHON_VERSION_DEFAULT changes! +SUBST_SED.python+= -e 's,/usr/bin/env.*python,${PREFIX}/bin/python2.6,' +SUBST_MESSAGE.python= Fixing path to python. +# Package doesn't need dependency, only packages using the script, +# usually during configure, so don't depend on python. +CHECK_INTERPRETER_SKIP= bin/vigra-config + .include "options.mk" .include "../../devel/zlib/buildlink3.mk" |